summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-04-12 23:17:02 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-04-12 23:17:02 +0200
commit2db2a00a812ec31ee59c3920ff457290e1f4a05e (patch)
tree26a1222b0f6b3e9f8a9d650e468ac0af374f3bf2 /src
parent0d9f2606e676b2257d9d11c1d23058f1e3472f89 (diff)
parent2dee0fdd2dd7a556074a888b1bbbe73190fd1855 (diff)
Merge branch 'release/debian/0.30.8-1'debian/0.30.8-1
Diffstat (limited to 'src')
-rw-r--r--src/dialogs/AdjustDateTimeDialog.vala8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dialogs/AdjustDateTimeDialog.vala b/src/dialogs/AdjustDateTimeDialog.vala
index cf2685b..9ca41d6 100644
--- a/src/dialogs/AdjustDateTimeDialog.vala
+++ b/src/dialogs/AdjustDateTimeDialog.vala
@@ -121,7 +121,13 @@ public class AdjustDateTimeDialog : Gtk.Dialog {
var picker = new Gtk.Box(Gtk.Orientation.HORIZONTAL, 5);
var combo = new Gtk.ComboBoxText();
for (int i = 0; i < 12; i++){
- combo.append_text(Time.gm((i * 2764800)).format("%B"));
+ var dt = new DateTime.from_unix_utc(i * 2764800);
+ var month_string = dt.format("%OB");
+ if (month_string.index_of("%OB") != -1) {
+ month_string = dt.format("%B");
+ }
+
+ combo.append_text(month_string);
}
picker.pack_start(combo, false, false, 0);
// Limits taken from GtkCalendar