Anonymous user
Talk:Date format: Difference between revisions
→Leading zeros: added another comment.
(→Leading zeros: it's Postel's Law) |
(→Leading zeros: added another comment.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 16:
::*European: dd.mm.yyyy
::*ISO: yyyy-mm-dd
::::::::: There is (maybe not-so-common) format (I think SAS uses it a lot): '''mmMonthyyyy''' (no leading zeros) as in (today): '''5Jul2018''' (using the 3-char English month name). I don't know if this particular format has a name. --[[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 03:03, 6 July 2018 (UTC)
:::::::::: I have to say, that is the ''weirdest'' format I ever heard of. I would have expected it to have a day in there somewhere instead of a month twice. ;) BTW, if you aren't specifying leading zeros for days or months you typically use one place-holder; so July 5, 2018 in the dmmmyyyy format would be 5Jul2018 --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 11:52, 6 July 2018 (UTC)
::::::::::: Thanks for catching that error. (I had to re-read what I wrote before I saw my typo). I meant to say: '''dMmmyyyy''' where '''Mmm''' is the capitalized three letter month name (in English). I suppose the '''dd''' could be used, but a leading zero for the day-of-month would be superfluous, but it would make all dates more consistant when numerous dates are displayed. Also note that not all languages have a unique three-letter abbreviation for the name of the month. I suppose that not being English centric has its drawbacks. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 17:55, 6 July 2018 (UTC)
::Note that each format uses different separator. You should always use correct separator for each format so that people will know which format is used.
::Here in Rosetta Code, the main thing is that all the implementations implement the same task. Therefore all the implementations should use the same format.
|