Test:Dateformat

From Wikispooks
Jump to navigation Jump to search

#dateformat:

May 6, 1953

  • ymd - 1953 May 6
  • ym - May 6, 1953
  • y - May 6, 1953

May 6 1953

  • ymd - 1953 May 6
  • ym - May 6, 1953
  • y - May 6, 1953

6 May, 1953

  • ymd - 1953 May 6
  • ym - 6 May 1953
  • y - 6 May 1953

Conclusion

Dead loss.

#formatdate:

6 May, 1953

  • ymd - 1953 May 6
  • ym - 6 May 1953
  • y - 6 May 1953

ISO 8601

  • ISO 8601 -2009-12-25

Conclusion

Not working as advertised at https://www.mediawiki.org/wiki/Help:Magic_words :-( So find another way to process dates...

#time:

  • 6 May, 1953 - 2024
  • 6 May 1953 - 1953
  • May 6, 1953 - 1953
  • May 6 1953 - 1953
  • 1953-05-06 - 1953

Not working quite properly, but maybe it we removed the "," and then tried #time: Y| ...

template:YearOfDate

  • 6 May, 1953 - 1953
  • 6 May 1953 - 1953
  • May 6, 1953 - 1953
  • May 6 1953 - 1953
  • 1953-05-06 - 1953