[gnome-photos/origin/wip/piotrdrag/removespace] export-dialog: Replace %e with %-d in the default folder name
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/origin/wip/piotrdrag/removespace] export-dialog: Replace %e with %-d in the default folder name
- Date: Wed, 24 Jan 2018 23:07:42 +0000 (UTC)
commit 01ec830502fed43da279976bbca04ec69950e83d
Author: Piotr Drąg <piotrdrag gmail com>
Date: Tue Jan 23 16:49:00 2018 +0100
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]