Display snapshot date in 12-hour format

This commit is contained in:
Tony George 2014-08-22 22:27:18 +05:30
parent ba13cb8071
commit cd6e1fa8b8
2 changed files with 2 additions and 2 deletions

View File

@ -613,7 +613,7 @@ class MainWindow : Gtk.Window{
private void cell_date_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
TimeShiftBackup bak;
model.get (iter, 0, out bak, -1);
(cell as Gtk.CellRendererText).text = bak.date.format ("%Y-%m-%d %H:%M:%S");
(cell as Gtk.CellRendererText).text = bak.date.format ("%Y-%m-%d %I:%M %p");
}
private void cell_tags_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: timeshift 1.2\n"
"Report-Msgid-Bugs-To: teejee2008@gmail.com\n"
"POT-Creation-Date: 2014-08-22 22:22+0530\n"
"POT-Creation-Date: 2014-08-22 22:25+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"