summaryrefslogtreecommitdiff
path: root/src/dialogs/AdjustDateTimeDialog.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-11-11 12:27:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-11-11 12:27:53 +0100
commit5b7b3b1dfd5ce7c275881098310667b09562ad27 (patch)
treed2760df372d76da84d901cfc3a20514d5dc73bdf /src/dialogs/AdjustDateTimeDialog.vala
parentf6062696f6bbd00d4eaa8a6e994dabfefc455f31 (diff)
New upstream version 0.32.10upstream/0.32.10upstream
Diffstat (limited to 'src/dialogs/AdjustDateTimeDialog.vala')
-rw-r--r--src/dialogs/AdjustDateTimeDialog.vala2
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,