summaryrefslogtreecommitdiff
path: root/core/pim/today/today.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/today/today.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index bed3a74..9e5c27e 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -149,9 +149,8 @@ void Today::startConfig()
draw();
}
-
/*
* Get all events that are in the datebook xml file for today
*/
void Today::getDates()
@@ -175,13 +174,11 @@ void Today::getDates()
count++;
if ( count <= MAX_LINES_MEET )
{
- //only get events past current time (start or end??)
//cout << time.toString() << endl;
//cout << TimeString::dateString((*it).event().end()) << endl;
- // still some bug in here, 1 h off
-
+
// decide if to get all day or only later appointments
if (!ONLY_LATER)
{
msg += "<B>" + (*it).description() + "</B>";
@@ -194,8 +191,9 @@ void Today::getDates()
{
msg+= "<BR>" + (*it).location();
}
msg += "<BR>"
+
// start time of event
+ TimeString::timeString(QTime((*it).event().start().time()) )
// end time of event
+ "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) )