author | zautrix <zautrix> | 2004-07-03 17:56:43 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-03 17:56:43 (UTC) |
commit | 5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5 (patch) (side-by-side diff) | |
tree | 9305757fd40e54bf695c67014739d2cbfe785842 | |
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 @@ -70,46 +70,46 @@ void MailListViewItem::showEntry() if ( mon == "Jan" ) so = "01"; else if ( mon == "Feb" ) so = "02"; else if ( mon == "Mar" ) so = "03"; else if ( mon == "Apr" ) so = "04"; else if ( mon == "May" ) so = "05"; else if ( mon == "Jun" ) so = "06"; else if ( mon == "Jul" ) so = "07"; else if ( mon == "Aug" ) so = "08"; else if ( mon == "Sep" ) so = "09"; else if ( mon == "Oct" ) so = "10"; else if ( mon == "Nov" ) so = "11"; else if ( mon == "Dec" ) so = "12"; - date = date.mid(7,4)+"-"+so+"-"+date.left(2)+"-"+date.mid(12); + date = date.mid(7,4)+"-"+so+"-"+date.left(2)+" "+date.mid(12,14); } // if ( date.left(1) != "1" || date.left(1) != "2" ) // date = date.mid(5); setText(4,date); } void MailListViewItem::storeData(const RecMailP&data) { mail_data = data; } const RecMailP& MailListViewItem::data()const { return mail_data; } MAILLIB::ATYPE MailListViewItem::wrapperType() { if (!mail_data->Wrapper()) return MAILLIB::A_UNDEFINED; return mail_data->Wrapper()->getType(); } |