TemporalZ

toLocaleString

Returns a string with a language-sensitive representation of this instant.

See: Temporal.Instant.toLocaleString

Parameters

#
self:Instant
Instant
allocator:std.mem.Allocator
std.mem.Allocator

Source

Implementation

#
pub fn toLocaleString(self: Instant, allocator: std.mem.Allocator) ![]u8 {
    return self.toString(allocator, .{});
}