From 655bed4c8f74d564d98ccd56d7a3340ae6550b47 Mon Sep 17 00:00:00 2001 From: "Lucas F." Date: Sun, 18 Jan 2026 15:57:21 -0300 Subject: [PATCH] update: set toValue as public --- src/context.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.zig b/src/context.zig index 4885974..a555794 100644 --- a/src/context.zig +++ b/src/context.zig @@ -36,7 +36,7 @@ pub const Context = struct { self.arena.deinit(); } - fn toValue(self: *Context, value: anytype) !Value { + pub fn toValue(self: *Context, value: anytype) !Value { const T = @TypeOf(value); if (T == time.Time) { return Value{ .string = try time.formatDateTime(self.allocator(), value, "Y-m-d H:i:s") };