| author | |
| committer | |
| log | 47337055a7bdc2ef03698fb147b59a1dcc473cee |
| tree | 49d6e58c395d3a4ea2be1d8e29286e2afc08a395 |
| parent | 8b1216b2ddaf9fbab12d5b686f142f0c99d472d1 |
2 files changed, 2 insertions(+), 2 deletions(-)
main.zig+1-1| ... | ... | @@ -118,6 +118,6 @@ comptime { |
| 118 | 118 | .{ "ZZ", "+0000" }, |
| 119 | 119 | |
| 120 | 120 | .{ "x", "1144509852789" }, |
| 121 | // .{ "X", "1144509852" }, | |
| 121 | .{ "X", "1144509852" }, | |
| 122 | 122 | }); |
| 123 | 123 | } |
time.zig+1-1| ... | ... | @@ -194,7 +194,7 @@ pub const DateTime = struct { |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | pub fn toUnix(self: Self) u64 { |
| 197 | const x = self.toUnix(); | |
| 197 | const x = self.toUnixMilli(); | |
| 198 | 198 | return x / 1000; |
| 199 | 199 | } |
| 200 | 200 |