| author | |
| committer | |
| log | 937dcad0b3802863af0891b2766acb55f89949ba |
| tree | 5807e9f45c9625445e8ede4c07dfe7c0ae0786a5 |
| parent | 215a0d61ab50703e38111c2762ee735b1e097358 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/time.zig+1-1| ... | ... | @@ -53,7 +53,7 @@ pub fn sleep(nanoseconds: u64) void { |
| 53 | 53 | /// before the epoch. |
| 54 | 54 | /// See `std.os.clock_gettime` for a POSIX timestamp. |
| 55 | 55 | pub fn timestamp() i64 { |
| 56 | return @divFloor(milliTimestamp(), ns_per_s); | |
| 56 | return @divFloor(milliTimestamp(), ms_per_s); | |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /// Get a calendar timestamp, in milliseconds, relative to UTC 1970-01-01. |