diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2020-04-10 19:31:54 +0200 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2020-04-10 19:31:54 +0200 | 
| commit | 959dc1b29b9d4dd9d3fc56c7759afc77788ec256 (patch) | |
| tree | beba4db57f3d8f5879eb449f35e895283a9b06cc /src | |
| parent | de88de73ad9d13cc2a54668aa4bc6523c196ffa9 (diff) | |
New upstream version 0.30.8upstream/0.30.8
Diffstat (limited to 'src')
| -rw-r--r-- | src/dialogs/AdjustDateTimeDialog.vala | 8 | 
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 | 
