aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-07-08 11:23:37 +0200
committerMarvin W <git@larma.de>2020-07-08 11:23:37 +0200
commit6aa08a3282855efeedb54ae8add880015ec95408 (patch)
tree321db0bc6d8463e0729d45b0b7a621f27d5d70e5 /main
parent3e08fc2f92847b21e2c15457d58e4b154a89b462 (diff)
downloaddino-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.vala2
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;
}