aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 01ae8b7..4833741 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -841,13 +841,7 @@ namespace QuickMedia {
//bool is_same_year = message_tm->tm_year == now_tm->tm_year;
char time_str[128] = {0};
- /*
- if(is_same_year)
- strftime(time_str, sizeof(time_str) - 1, "%a %b %d %H:%M:%S", message_tm);
- else
- strftime(time_str, sizeof(time_str) - 1, "%a %b %d %H:%M:%S %Y", message_tm);
- */
- strftime(time_str, sizeof(time_str) - 1, "%a %b %d %H:%M", &message_tm);
+ strftime(time_str, sizeof(time_str) - 1, "%Y %b %d, %a %H:%M", &message_tm);
if(body_item->timestamp_text) {
body_item->timestamp_text->setString(time_str);