summaryrefslogtreecommitdiffabout
path: root/kmicromail
authorzautrix <zautrix>2004-07-03 17:56:43 (UTC)
committer zautrix <zautrix>2004-07-03 17:56:43 (UTC)
commit5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5 (patch) (unidiff)
tree9305757fd40e54bf695c67014739d2cbfe785842 /kmicromail
parent160c17bf54944df96c2c67f7c3d14882163bdbf7 (diff)
downloadkdepimpi-5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5.zip
kdepimpi-5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5.tar.gz
kdepimpi-5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5.tar.bz2
bugfix of date in listview
Diffstat (limited to 'kmicromail') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mailistviewitem.cpp2
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
101void MailListViewItem::storeData(const RecMailP&data) 101void MailListViewItem::storeData(const RecMailP&data)
102{ 102{
103 mail_data = data; 103 mail_data = data;
104} 104}
105 105
106const RecMailP& MailListViewItem::data()const 106const RecMailP& MailListViewItem::data()const