mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 16:30:29 +00:00
Use 64-bit years
This change makes strftime() go faster and makes it possible to format timestamps through the big bang to most of the stelliferous era. India has also been added as a timezone to most binaries. Since we were able to change the struct tm abi, this makes cosmopolitan libc superior, to just about everything else, when it comes to standing the test of time
This commit is contained in:
parent
2aebda7718
commit
cfc3a953ae
13 changed files with 542 additions and 482 deletions
|
@ -66,6 +66,8 @@ extern long double (*nowl)(void);
|
|||
long double ConvertTicksToNanos(uint64_t);
|
||||
void RefreshTime(void);
|
||||
|
||||
bool _isleap(int64_t);
|
||||
bool _isleapsum(int64_t, int64_t);
|
||||
double difftime(int64_t, int64_t) dontthrow pureconst;
|
||||
char *iso8601(char[hasatleast 20], struct tm *);
|
||||
size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue