nicorac / bcr-gui

BCR-GUI is a companion app for the great BCR (Basic Call Recorder) Android application and other supported ROMs with embedded call recorders.
https://coolsoft.altervista.org
GNU General Public License v3.0
161 stars 9 forks source link

Bug: always forcing 12h time format #14

Closed pacjo closed 1 year ago

pacjo commented 1 year ago

Even though time in metadata files is in 24h format, bcr-gui will show it in 12h format.

Please add an option to change it, or better yet default the time format to the one used system wide.

nicorac commented 1 year ago

default the time format to the one used system wide

Well, it already should work like this... 🤔 Which region is your Android set to?

nicorac commented 1 year ago

You're right, I've found the issue: unsupported languages will actually fallback to en-US... which has AM/PM as datetime format.

Need to find a better way to support all datetime formats or, as last resort, add a format selector setting.

pacjo commented 1 year ago

Sorry for late reply. I'm glad you found the issue.

Which region is your Android set to?

Language: en-UK, time zone GMT+2 (CEST)

nicorac commented 1 year ago

Fixed code by using native WebView Intl.* libraries to format dates & numbers in (almost) any language supported by Android.

You'll find the fix in version 0.0.8