Std.Time.Format.render
1 declaration
fn
render: Int -> Str -> StrThis is a callable function.
What it does
A moment written by a pattern.
The directives are the ones a reader already knows: %Y the year, %m the
month, %d the day, %H %M %S the time, %L the milliseconds, %j
the day of the year, %a and %A the weekday, %b and %B the month by
name, %p the half of the day, %I the hour on a twelve-hour clock, %s
the seconds since the start of 1970, %z the offset, and %% a literal
percent. A directive this list does not name is written through unchanged,
so a pattern holding one is still readable rather than silently emptied.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
