Solves #3556.

This PR:
1. Replaces yyyy/mm/dd format in "Edit > Insert date" with 
yyyy-mm-dd (which happens to be the recommended format in ISO 8601), and 
mm.dd.yyyy with mm/dd/yyyy (using slashes seems to be more common for that date 
format), leaving dd.mm.yyyy as is (with dots).
2. Updates all the translation files accordingly (e.g., `es.po` currently 
translates the string `yyyy/mm/dd` to `aaaa/mm/dd`; this needed to be updated 
as well).
3. Sets yyyy-mm-dd as the default (first option in "Insert date", 
default custom date format, and also uses it in "Date & time" 
under Edit > Preferences > Templates, which is currently using 
inconsistent date formats).

I have split this PR into three commits for convenience, just in case the devs 
don't want to pull all of it.  _(For example, I understand that @frlan is 
currently fidgeting with the translations and maybe doesn't want to pull 
the commit that touches them.)_
Feel free to squash them if preferred.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/3570

-- Commit Summary --

  * Use ISO format yyyy-mm-dd instead of yyyy/mm/dd
  * Update translations with new date format
  * Make yyyy-mm-dd the primary date format

-- File Changes --

    M po/ar.po (16)
    M po/ast.po (16)
    M po/be.po (16)
    M po/bg.po (16)
    M po/ca.po (16)
    M po/cs.po (16)
    M po/da.po (16)
    M po/de.po (16)
    M po/el.po (16)
    M po/en_GB.po (16)
    M po/es.po (16)
    M po/et.po (16)
    M po/eu.po (16)
    M po/fa.po (16)
    M po/fi.po (16)
    M po/fr.po (16)
    M po/gl.po (16)
    M po/he.po (16)
    M po/hi.po (8)
    M po/hu.po (16)
    M po/id.po (16)
    M po/ie.po (16)
    M po/it.po (16)
    M po/ja.po (16)
    M po/kk.po (16)
    M po/ko.po (16)
    M po/ku.po (16)
    M po/lb.po (16)
    M po/lt.po (16)
    M po/lv.po (16)
    M po/mn.po (16)
    M po/nl.po (16)
    M po/nn.po (8)
    M po/pl.po (16)
    M po/pt.po (16)
    M po/pt_BR.po (16)
    M po/ro.po (16)
    M po/ru.po (16)
    M po/si.po (8)
    M po/sk.po (16)
    M po/sl.po (16)
    M po/sr.po (16)
    M po/sv.po (16)
    M po/tr.po (16)
    M po/uk.po (16)
    M po/vi.po (16)
    M po/zh_CN.po (16)
    M po/zh_TW.po (16)
    M src/templates.h (2)
    M src/ui_utils.c (26)

-- Patch Links --

https://github.com/geany/geany/pull/3570.patch
https://github.com/geany/geany/pull/3570.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3570
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to