ChatSecureAndroid icon indicating copy to clipboard operation
ChatSecureAndroid copied to clipboard

Time format

Open DocSniper opened this issue 10 years ago • 4 comments

I have the problem that my system time is set to 24-hour format (AKA military time) but ChatSecure (14.1.1-RC5) shows me a.m. and p.m. Played around a while to find a solution, but can't find a setting for this or something else. Is this a (know) bug or can I change it anywhere ?

DocSniper avatar Jun 29 '15 07:06 DocSniper

Found out the following:

  • When I shutdown ChatSecure via the menu and after restart it, nothing changes, the time is still shown as am/pm
  • But if I kill ChatSecure and then restart it, the time is shown in 24-hour notation

Very strange.

DocSniper avatar Jun 29 '15 08:06 DocSniper

Doc Sniper [email protected] writes:

Found out the following:

  • When I shutdown ChatSecure via the menu and after restart it, nothing changes, the time is still shown as am/pm
  • But if I kill ChatSecure and then restart it, the time is shown in 24-hour notation

Very strange.

Probably, it reads the preferences on startup. I am unclear on Android doctrine for getting and responding to updated preferences dynamically.

gdt avatar Jun 29 '15 12:06 gdt

Maybe an Android and/or CyanogenMod specific problem:

http://review.cyanogenmod.org/#/c/107665/

DocSniper avatar Aug 26 '15 07:08 DocSniper

After this patch a.m. and p.m in chatsecure. is back even if system time is set to 24 hours:

http://review.cyanogenmod.org/#/c/107747/

DocSniper avatar Aug 29 '15 06:08 DocSniper