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") };