summaryrefslogtreecommitdiff
path: root/src/Properties.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:23 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:23 +0100
commit483b2e960f24c370d9e0260ab4ba8b3453408590 (patch)
treeec5e83ac39e4e5cec0ab9494da2d0edaafe72d89 /src/Properties.vala
parent1bbf886bafc680c56ddd5e27ddd803b4e03685df (diff)
parentcb001bb8056869f98e9a62248bdd509a69d08faf (diff)
Merge branch 'feature/upstrem' into develop
Diffstat (limited to 'src/Properties.vala')
-rw-r--r--src/Properties.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Properties.vala b/src/Properties.vala
index 7c6ab89..8eb5742 100644
--- a/src/Properties.vala
+++ b/src/Properties.vala
@@ -97,7 +97,7 @@ private abstract class Properties : Gtk.Box {
protected string get_prettyprint_date(DateTime date) {
string date_string = null;
- var today = new DateTime.now_local();
+ var today = new DateTime.now(Application.timezone);
if (date.get_day_of_year() == today.get_day_of_year() && date.get_year() == today.get_year()) {
date_string = _("Today");
} else if (date.get_day_of_year() == (today.get_day_of_year() - 1) && date.get_year() == today.get_year()) {