[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/filters/kspread/csv
From: Sebastian Sauer <mail () dipe ! org>
Date: 2006-03-20 7:09:33
Message-ID: 1142838573.104338.7289.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 520504 by sebsauer:
Fix export of times and dates.
Before we lost the seconds at times and date was depending on the local. We are using \
the ISO-notation now. For sure I trible-checked if I breaked import, but everything \
works well now :)
M +4 -0 csvexport.cc
--- trunk/koffice/filters/kspread/csv/csvexport.cc #520503:520504
@@ -81,6 +81,10 @@
text = cell->strOutText();
else if ( !cell->link().isEmpty() )
text = cell->text(); // untested
+ else if( cell->isTime() )
+ text = cell->value().asTime().toString("hh:mm:ss");
+ else if( cell->isDate() )
+ text = cell->value().asDate().toString("yyyy-MM-dd");
else
text = cell->strOutText();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic