authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 23:50:03 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 23:50:03 -07:00
log380507b4adcc888972a5debcc168c589f052cc9c
treea24768d9ce7b0102e5e7a93bdc0edd76d429e073
parent0f4db4c980146e4a3fc86a9a9070452a25ff9317
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


2 files changed, 2 insertions(+), 2 deletions(-)

README.md+1-1
......@@ -3,7 +3,7 @@
33![loc](https://sloc.xyz/github/nektro/zig-time)
44[![license](https://img.shields.io/github/license/nektro/zig-time.svg)](https://github.com/nektro/zig-time/blob/master/LICENSE)
55[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)
6[![Zig](https://img.shields.io/badge/Zig-0.14-f7a41d)](https://ziglang.org/)
6[![Zig](https://img.shields.io/badge/Zig-0.15-f7a41d)](https://ziglang.org/)
77[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)
88
99Exposes 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 {
358358 }
359359
360360 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);
362362 defer list.deinit();
363363
364364 try self.format(fmt, .{}, list.writer());