| author | |
| committer | |
| log | 380507b4adcc888972a5debcc168c589f052cc9c |
| tree | a24768d9ce7b0102e5e7a93bdc0edd76d429e073 |
| parent | 0f4db4c980146e4a3fc86a9a9070452a25ff9317 |
| signature |
2 files changed, 2 insertions(+), 2 deletions(-)
README.md+1-1| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 |  |
| 4 | 4 | [](https://github.com/nektro/zig-time/blob/master/LICENSE) |
| 5 | 5 | [](https://github.com/sponsors/nektro) |
| 6 | [](https://ziglang.org/) | |
| 6 | [](https://ziglang.org/) | |
| 7 | 7 | [](https://github.com/nektro/zigmod) |
| 8 | 8 | |
| 9 | 9 | Exposes a `DateTime` structure that can be initialized and acted upon using various methods. All public methods return a new structure. |
time.zig+1-1| ... | ... | @@ -358,7 +358,7 @@ pub const DateTime = struct { |
| 358 | 358 | } |
| 359 | 359 | |
| 360 | 360 | pub fn formatAlloc(self: DateTime, alloc: std.mem.Allocator, comptime fmt: string) !string { |
| 361 | var list = std.ArrayList(u8).init(alloc); | |
| 361 | var list = std.array_list.Managed(u8).init(alloc); | |
| 362 | 362 | defer list.deinit(); |
| 363 | 363 | |
| 364 | 364 | try self.format(fmt, .{}, list.writer()); |