comparison src/cache-loader.c @ 566:db08ccd54169

Change the prefix of formatted exif tags to a more explicit "formatted." prefix instead of the shorter "f". Warning: custom overlay info string has to be modified since old names are no more recognized, one can reset it to default through Preferences > Advanced.
author zas_
date Sat, 03 May 2008 20:40:50 +0000
parents 48c8e49b571c
children 905688aa2317
comparison
equal deleted inserted replaced
565:85b9cec260bc 566:db08ccd54169
129 exif = exif_read_fd(cl->fd); 129 exif = exif_read_fd(cl->fd);
130 if (exif) 130 if (exif)
131 { 131 {
132 gchar *text; 132 gchar *text;
133 133
134 text = exif_get_data_as_text(exif, "fDateTime"); 134 text = exif_get_data_as_text(exif, "formatted.DateTime");
135 if (text) 135 if (text)
136 { 136 {
137 struct tm t = { 0 }; 137 struct tm t = { 0 };
138 138
139 if (sscanf(text, "%d:%d:%d %d:%d:%d", &t.tm_year, &t.tm_mon, &t.tm_mday, 139 if (sscanf(text, "%d:%d:%d %d:%d:%d", &t.tm_year, &t.tm_mon, &t.tm_mday,