toLocaleString
Returns a language-sensitive string representation of this ZonedDateTime.
Parameters
- self:ZonedDateTime
- ZonedDateTime
- allocator:std.mem.Allocator
- std.mem.Allocator
Source
Implementation
pub fn toLocaleString(self: ZonedDateTime, allocator: std.mem.Allocator) ![]u8 {
return self.toString(allocator, .{});
}