diff options
author | Marvin W <git@larma.de> | 2020-07-08 11:23:37 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2020-07-08 11:23:37 +0200 |
commit | 6aa08a3282855efeedb54ae8add880015ec95408 (patch) | |
tree | 321db0bc6d8463e0729d45b0b7a621f27d5d70e5 /main | |
parent | 3e08fc2f92847b21e2c15457d58e4b154a89b462 (diff) | |
download | dino-6aa08a3282855efeedb54ae8add880015ec95408.tar.gz dino-6aa08a3282855efeedb54ae8add880015ec95408.zip |
Some locales need more than 2 chars for AM/PM, make the buffer a bit larger
Diffstat (limited to 'main')
-rw-r--r-- | main/src/ui/util/helper.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index d10e1447..8d9fee53 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -249,7 +249,7 @@ public static bool is_dark_theme(Gtk.Widget widget) { private static uint8 is24h = 0; public static bool is_24h_format() { if (is24h == 0) { - string p_format = " "; // Leaving room to be filled by strftime + string p_format = " "; // Leaving room to be filled by strftime Time.local(0).strftime((char[]) p_format.data, "%p"); is24h = p_format.strip() == "" ? 1 : -1; } |