From 6086efb4ff1b8afc1eedb500abc349e959a97ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Tue, 23 Jan 2018 16:49:00 +0100 Subject: [PATCH] photos-export-dialog: Replace %e with %-d in the default folder name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %e is the day of the month, with a space preceding single digits. %d is two-digit day of the month with leading zeros, but the “-” modifier removes leading zeros. Closes https://gitlab.gnome.org/GNOME/gnome-photos/issues/65 --- src/photos-export-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/photos-export-dialog.c b/src/photos-export-dialog.c index 4372eb7b..46e8a5ee 100644 --- a/src/photos-export-dialog.c +++ b/src/photos-export-dialog.c @@ -195,7 +195,7 @@ photos_export_dialog_constructed (GObject *object) /* Translators: this is the default sub-directory where photos * will be exported. */ - now_str = g_date_time_format (now, _("%e %B %Y")); + now_str = g_date_time_format (now, _("%-d %B %Y")); gtk_entry_set_text (GTK_ENTRY (self->dir_entry), now_str); -- GitLab