diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-11-11 12:28:09 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-11-11 12:28:09 +0100 |
commit | cb001bb8056869f98e9a62248bdd509a69d08faf (patch) | |
tree | ec5e83ac39e4e5cec0ab9494da2d0edaafe72d89 /src/dialogs/AdjustDateTimeDialog.vala | |
parent | 1bbf886bafc680c56ddd5e27ddd803b4e03685df (diff) | |
parent | 5b7b3b1dfd5ce7c275881098310667b09562ad27 (diff) |
Update upstream source from tag 'upstream/0.32.10'
Update to upstream version '0.32.10'
with Debian dir 4a4ccaeec66d543745486a1cf408bbaa58c6e02f
Diffstat (limited to 'src/dialogs/AdjustDateTimeDialog.vala')
-rw-r--r-- | src/dialogs/AdjustDateTimeDialog.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/AdjustDateTimeDialog.vala b/src/dialogs/AdjustDateTimeDialog.vala index f475773..2b6ae45 100644 --- a/src/dialogs/AdjustDateTimeDialog.vala +++ b/src/dialogs/AdjustDateTimeDialog.vala @@ -231,7 +231,7 @@ public class AdjustDateTimeDialog : Gtk.Dialog { uint year, month, day; calendar.get_date(out year, out month, out day); - return new DateTime.local((int)year, (int)month + 1, (int)day, hour, (int)minute.get_value(), (int)second.get_value()); + return new DateTime(Application.timezone, (int)year, (int)month + 1, (int)day, hour, (int)minute.get_value(), (int)second.get_value()); } public bool execute(out TimeSpan time_shift, out bool keep_relativity, |