For text values, a simple formatPropertyValues is enough. But for a scribunto module one could needs only the month or the year. "28 december 2014" is not so easy. This could be easier with a fixed date-time format like -YYYYMMDD HH:MM:SS,nnn (minus or plus is for years before or from 1, and 0 could means "not defined in this format"). Then an option to choose the type of format could be usefull. Another case is angle or geographic coordinates in radian / turn / grade / degree.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | Feature | None | T66475 Make crosswiki bits and pieces truly global (tracking) | ||
Open | None | T176787 Automatic infobox implementation | |||
Open | None | T121470 Central Global Repository for Templates, Lua modules, and Gadgets | |||
Declined | None | T135845 Convert any module as central or centralisable | |||
Open | None | T85412 The formatPropertyValues needs an option to format data from date-time, angle or geographic coordinates |
Event Timeline
Comment Actions
For date-time, format like in LibreOffice could be usefull : "yyyy-mm-dd" or "mmm/yy"
Also "ISO8601" for date-time if it is not the default format.
Or that could become a function from ISO8601 in Lua modules?