author | zautrix <zautrix> | 2004-07-03 17:56:43 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-03 17:56:43 (UTC) |
commit | 5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5 (patch) (unidiff) | |
tree | 9305757fd40e54bf695c67014739d2cbfe785842 /kmicromail | |
parent | 160c17bf54944df96c2c67f7c3d14882163bdbf7 (diff) | |
download | kdepimpi-5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5.zip kdepimpi-5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5.tar.gz kdepimpi-5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5.tar.bz2 |
bugfix of date in listview
-rw-r--r-- | kmicromail/mailistviewitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmicromail/mailistviewitem.cpp b/kmicromail/mailistviewitem.cpp index 6073da6..b9b4cd9 100644 --- a/kmicromail/mailistviewitem.cpp +++ b/kmicromail/mailistviewitem.cpp | |||
@@ -82,25 +82,25 @@ void MailListViewItem::showEntry() | |||
82 | else if ( mon == "Jul" ) | 82 | else if ( mon == "Jul" ) |
83 | so = "07"; | 83 | so = "07"; |
84 | else if ( mon == "Aug" ) | 84 | else if ( mon == "Aug" ) |
85 | so = "08"; | 85 | so = "08"; |
86 | else if ( mon == "Sep" ) | 86 | else if ( mon == "Sep" ) |
87 | so = "09"; | 87 | so = "09"; |
88 | else if ( mon == "Oct" ) | 88 | else if ( mon == "Oct" ) |
89 | so = "10"; | 89 | so = "10"; |
90 | else if ( mon == "Nov" ) | 90 | else if ( mon == "Nov" ) |
91 | so = "11"; | 91 | so = "11"; |
92 | else if ( mon == "Dec" ) | 92 | else if ( mon == "Dec" ) |
93 | so = "12"; | 93 | so = "12"; |
94 | date = date.mid(7,4)+"-"+so+"-"+date.left(2)+"-"+date.mid(12); | 94 | date = date.mid(7,4)+"-"+so+"-"+date.left(2)+" "+date.mid(12,14); |
95 | } | 95 | } |
96 | // if ( date.left(1) != "1" || date.left(1) != "2" ) | 96 | // if ( date.left(1) != "1" || date.left(1) != "2" ) |
97 | // date = date.mid(5); | 97 | // date = date.mid(5); |
98 | setText(4,date); | 98 | setText(4,date); |
99 | } | 99 | } |
100 | 100 | ||
101 | void MailListViewItem::storeData(const RecMailP&data) | 101 | void MailListViewItem::storeData(const RecMailP&data) |
102 | { | 102 | { |
103 | mail_data = data; | 103 | mail_data = data; |
104 | } | 104 | } |
105 | 105 | ||
106 | const RecMailP& MailListViewItem::data()const | 106 | const RecMailP& MailListViewItem::data()const |