summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 1f6f34e..c63a9ef 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -189,18 +189,18 @@ void Today::getDates()
// include location or not
if (SHOW_LOCATION == 1)
{
- msg+= "<BR><i>" + (*it).location();
+ msg += "<BR><i>" + (*it).location();
+ msg += "</i>";
}
- msg += "</i><BR>";
-
+
if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") )
{
- msg += "All day";
+ msg += "<br>All day";
}
else
{
// start time of event
- msg += TimeString::timeString(QTime((*it).event().start().time()) )
+ msg += "<br>" + TimeString::timeString(QTime((*it).event().start().time()) )
// end time of event
+ "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) );
}
@@ -222,17 +222,17 @@ void Today::getDates()
if (SHOW_LOCATION == 1)
{
msg+= "<BR><i>" + (*it).location();
+ msg += "</i>";
}
- msg += "</i><BR>";
-
+
if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") )
{
- msg += "All day";
+ msg += "<br>All day";
}
else
{
// start time of event
- msg += TimeString::timeString(QTime((*it).event().start().time()) )
+ msg += "<br>" + TimeString::timeString(QTime((*it).event().start().time()) )
// end time of event
+ "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) );
}