Module:Dates/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Module:Dates.
It contains usage information, categories and other content or metadata that is not part of the original module page.

This is a documentation subpage for Module:Dates.
It contains usage information, categories and other content or metadata that is not part of the original module page.

Utilities for working with dates.

format

This function takes one or two timestamps and formats them in a human-readable way according to the specified language code. See Module talk:Dates/testcases for unit tests that double as usage examples. Module:Dates/locales defines the formats for each language.

See also