Commit 890b4c37 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

include the year in the catalog filename

parent f5454c6b
...@@ -294,7 +294,7 @@ get_catalog_file_for_time (GTimeVal *timeval) ...@@ -294,7 +294,7 @@ get_catalog_file_for_time (GTimeVal *timeval)
year = _g_time_val_strftime (timeval, "%Y"); year = _g_time_val_strftime (timeval, "%Y");
uri = g_strconcat ("catalog:///", year, "/", NULL); uri = g_strconcat ("catalog:///", year, "/", NULL);
base = g_file_new_for_uri (uri); base = g_file_new_for_uri (uri);
display_name = _g_time_val_strftime (timeval, "%m-%d"); display_name = _g_time_val_strftime (timeval, "%Y-%m-%d");
catalog_file = get_catalog_file (uri, display_name); catalog_file = get_catalog_file (uri, display_name);
g_free (display_name); g_free (display_name);
......
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