projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Add two new columns to show compact Sent/Received date. This change
[modest]
/
src
/
modest-text-utils.c
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
f411a1d
..
9b0cef4
100644
(file)
--- a/
src/modest-text-utils.c
+++ b/
src/modest-text-utils.c
@@
-204,15
+204,12
@@
gsize
modest_text_utils_strftime(char *s, gsize max, const char *fmt, time_t timet)
{
struct tm tm;
modest_text_utils_strftime(char *s, gsize max, const char *fmt, time_t timet)
{
struct tm tm;
-/* static GDate date; */
/* does not work on old maemo glib:
* g_date_set_time_t (&date, timet);
*/
/* does not work on old maemo glib:
* g_date_set_time_t (&date, timet);
*/
-/* g_date_set_time (&date, (GTime) timet); */
localtime_r (&timet, &tm);
localtime_r (&timet, &tm);
-/* return g_date_strftime (s, max, fmt, (const GDate*) &date); */
return strftime(s, max, fmt, &tm);
}
return strftime(s, max, fmt, &tm);
}