From 9e8ee0e9b3b2075335d0b0ca9225148ca3303783 Mon Sep 17 00:00:00 2001 From: Alain Date: Tue, 19 Mar 2024 05:59:31 -0500 Subject: [PATCH] fix #1153 --- src/Dialogs/Preferences/PreferencesWindow.vala | 2 +- src/Views/Scheduled/ScheduledDay.vala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Dialogs/Preferences/PreferencesWindow.vala b/src/Dialogs/Preferences/PreferencesWindow.vala index 5d2784dc5..5076ae5d4 100644 --- a/src/Dialogs/Preferences/PreferencesWindow.vala +++ b/src/Dialogs/Preferences/PreferencesWindow.vala @@ -1168,7 +1168,7 @@ public class Dialogs.Preferences.PreferencesWindow : Adw.PreferencesWindow { oauth_open_url = oauth_open_url.printf (Constants.TODOIST_CLIENT_ID, Constants.TODOIST_SCOPE, state); WebKit.WebView webview = new WebKit.WebView (); - webview.zoom_level = 0.75; + webview.zoom_level = 0.85; webview.vexpand = true; webview.hexpand = true; diff --git a/src/Views/Scheduled/ScheduledDay.vala b/src/Views/Scheduled/ScheduledDay.vala index 82e8b3fbe..a9472d1a8 100644 --- a/src/Views/Scheduled/ScheduledDay.vala +++ b/src/Views/Scheduled/ScheduledDay.vala @@ -47,13 +47,13 @@ public class Views.Scheduled.ScheduledDay : Gtk.ListBoxRow { items = new Gee.HashMap (); - var day_label = new Gtk.Label (date.format ("%a").up (1) + date.format ("%a").substring (1)) { + var day_label = new Gtk.Label (date.get_day_of_month ().to_string ()) { halign = Gtk.Align.START }; day_label.add_css_class ("font-bold"); var date_format_label = new Gtk.Label ( - Util.get_default ().get_default_date_format_from_date (date) + date.format ("%a") ) { halign = Gtk.Align.START };