Commit a6241511 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

[rename_tool] changed the default date format, added the file time

Now the default date format is the same of version 2.10, that is
%Y-%m-%d--%H.%M.%S.  Added the %q format as a shortcut for the
format %Y-%m-%d.
parent ca7bbe5f
......@@ -535,6 +535,9 @@ _g_time_val_strftime (GTimeVal *time_,
struct tm *tm;
if ((format == NULL) || (*format == '\0'))
format = "%Y-%m-%d--%H.%M.%S";
if (strcmp (format, "%q") == 0)
format = "%Y-%m-%d";
secs = time_->tv_sec;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment