Cannot change Date display format from US-style #2790

issue njbartlett opened this issue on June 24, 2013
  1. njbartlett commented at 7:43 PM on June 24, 2013: none

    Dates in the UI are displayed in US-style format (month/day/year), which is confusing for British and other non-US English speakers who expect day/month/year.

    I expected to be able to change this via the User Interface Language settings, but there is no option for British English (en_GB).

  2. sipa commented at 7:44 PM on June 24, 2013: member

    What OS?

  3. njbartlett commented at 7:47 PM on June 24, 2013: none

    Sorry... Mac OS 10.8.2, Bitcoin-Qt 0.8.2-beta.

  4. Diapolo commented at 11:31 AM on June 25, 2013: none

    So there is NO en_GB translation, but AFAIK our language setting has nothing todo with time formats. Where do you see the wrong format, everywhere or just in the debug Window for example?

  5. laanwj commented at 11:41 AM on June 25, 2013: member

    Indeed @diapolo. Date formatting is determined by the qt system locale, not the language. I guess it'd be possible to change the locale with the language though.

  6. njbartlett commented at 11:43 AM on June 25, 2013: none

    I see them in at least the following places:

    • On the Overview tab, Recent transactions panel on the right
    • Transactions tab, Date column
    • Transaction details dialog

    I think that the date format does need to be controlled by the language setting, which should actually be more general, i.e. the user's locale. Also relevant to this is the formatting of large numbers, negative numbers etc.

  7. ghost commented at 1:44 PM on May 1, 2014: none

    This problem affects me too, as I'd like to use the ISO date format instead of the default one. I tried adding LC_TIME="en_DK.utf8" to my system locale settings but it doesn't work with Bitcoin-Qt.

  8. laanwj added the label Localization on May 6, 2014
  9. laanwj removed the label Localization on Jul 31, 2014
  10. jonasschnelli commented at 2:12 PM on November 30, 2015: contributor

    The language/regional formatting will be chosen by the system locale or could be overwritten by the -lang=<ISO_LANG> argument or over the GUI settings panel. Closing.

  11. jonasschnelli closed this on Nov 30, 2015

  12. MarcoFalke commented at 2:31 PM on November 30, 2015: member

    @jonasschnelli Does -lang= also overwrite the Dates? For me it does not, so I think that's what the bug was reporting.

  13. jonasschnelli commented at 2:40 PM on November 30, 2015: contributor

    Sorry. Your right. -lang keeps the locale. But IMO the application behavior is correct. It uses the system wide locale settings to chose the date formatting pattern. I can't remember seeing an application that allowed users to override the date format in per-application settings.

  14. MarcoFalke commented at 2:44 PM on November 30, 2015: member

    Right, but what about GB locale vs US locale? Is qt indeed displaying US locale when the system is running GB? (Haven't yet checked myself)

  15. MarcoFalke commented at 3:58 PM on December 15, 2015: member

    Couldn't reproduce the issue here. Thanks for closing.

  16. Bushstar referenced this in commit b18f8cb77c on Apr 5, 2019
  17. Bushstar referenced this in commit c0a671e840 on Apr 8, 2020
  18. Bushstar referenced this in commit df73438708 on Apr 8, 2020
  19. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me