ISO 8601 Dates

By chocolateboy Last update Nov 3, 2013 — Installed 2,426 times.

Script Summary: Convert US dates to the ISO 8601 YYYY-MM-DD format



Version: 1.1.0

License: GPL: http://www.gnu.org/copyleft/gpl.html

Script homepage

This script converts dates in the following formats to the ISO 8601 YYYY-MM-DD format:

  • MM-DD-YY
  • MM-DD-YYYY
  • MM/DD/YY
  • MM/DD/YYYY

Sites whose content is loaded after the page is loaded (and therefore after the userscript is run) can have their dates fixed via the ISO 8601 Dates menu command.

Note: this script does not run on any sites by default. Wildcards for offending sites should be added to the userscript engine's list of includes e.g. to add www.example.com to Scriptish: Tools -> Scriptish -> Manage User Scripts... -> ISO 8601 Dates -> Preferences -> User includes -> http://www.example.com/*.

See Also

Changelog

  • 1.1.0 2013-11-03
    • fix Firefox-ism: s/const/var/
    • add missing @grant
  • 1.0.2 2012-12-20
    • fix menu command name
  • 1.0.1 2012-12-20
    • docfix
  • 1.0.0 2012-12-20
    • defer execution to support sites with lazily-loaded content
    • cleanup
  • 0.02 2007-11-24
    • leap year fix
  • 0.01 2007-11-21
    • initial USO version