mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
53d011fa1a
Remove the constants that assume a base unit in favor of explicit x_per_y constants. nanosecond calendar timestamps now use i128 for the type. This affects fs.File.Stat, std.time.nanoTimestamp, and fs.File.updateTimes. calendar timestamps are now signed, because the value can be less than the epoch (the user can set their computer time to whatever they wish). implement std.os.clock_gettime for Windows when clock id is CLOCK_CALENDAR. |
||
---|---|---|
.. | ||
epoch.zig |