Unify gmtime and localtime code

Apparently gmtime was already implemented when I made localtime, so we had two different things written from scratch. We decided in the relibc channel of the Redox OS Mattermost chat to use my code, as it is more extensively tested and perhaps is clearer in how it works.
This commit is contained in:
jD91mZM2
2018-09-05 15:48:30 +02:00
parent 9cb594dca1
commit eb6ddac1eb
4 changed files with 21 additions and 91 deletions
+2
View File
@@ -1,6 +1,8 @@
Year 69, Day of year: 333, Month 10, Day of month: 29, Day of week: 6, 0:0:0
Year 69, Day of year: 365, Month 11, Day of month: 31, Day of week: 3, 0:0:0
Year 69, Day of year: 365, Month 11, Day of month: 31, Day of week: 3, 23:59:59
Year 69, Day of year: 365, Month 11, Day of month: 31, Day of week: 3, 23:51:40
Year 70, Day of year: 0, Month 0, Day of month: 1, Day of week: 4, 0:0:0
Year 70, Day of year: 0, Month 0, Day of month: 1, Day of week: 4, 0:0:1
Year 118, Day of year: 193, Month 6, Day of month: 13, Day of week: 5, 4:9:10
Fri Jul 13 06:03:43 2018