[gnome-photos/wip/piotrdrag/removespace] photos-export-dialog: Replace %e with %-d in the default folder name
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/piotrdrag/removespace] photos-export-dialog: Replace %e with %-d in the default folder name
- Date: Tue, 23 Jan 2018 15:55:05 +0000 (UTC)
commit 6086efb4ff1b8afc1eedb500abc349e959a97ebe
Author: Piotr Drąg <piotrdrag gmail com>
Date: Tue Jan 23 16:49:00 2018 +0100
photos-export-dialog: Replace %e with %-d in the default folder name
%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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]