on xenial help sign in
fixed/added comment
commit11fa16d11207f3bf28199096ef903da5bc6d7489 authorNick Dedekind <nick.dedekind@canonical.com> dateWed 3 Sep 2014, 13:23 (12 years ago) parentd3f0145
2 files changed+3−2
plugins/Utils/relativetimeformatter.cpp+2−2 plugins/Utils/relativetimeformatter.h+1
plugins/Utils/relativetimeformatter.cpp+2−2
@@ -153,7 +153,7 @@ char* generate_full_format_string_at_time (GDateTime* now,
153153 /* Translators, please edit/rearrange these strftime(3) tokens to suit your locale!
154154 This format string is used for showing, on a 12-hour clock, times that happen yesterday.
155155 (\u2003 is a unicode em space which is slightly wider than a normal space.)
156− en_US example: "Yesterday\u2003%l:%M %p" --> "Tomorrow 1:00 PM" */
156+ en_US example: "Yesterday\u2003%l:%M %p" --> "Yesterday 1:00 PM" */
157157 g_string_assign (ret, dgettext("indicator-datetime", "Yesterday\u2003%l:%M %p"));
158158 break;
159159
@@ -197,7 +197,7 @@ char* generate_full_format_string_at_time (GDateTime* now,
197197 /* Translators, please edit/rearrange these strftime(3) tokens to suit your locale!
198198 This format string is used for showing, on a 24-hour clock, times that happen yesterday.
199199 (\u2003 is a unicode em space which is slightly wider than a normal space.)
200− en_US example: "Yesterday\u2003%l:%M %p" --> "Tomorrow 13:00" */
200+ en_US example: "Yesterday\u2003%l:%M %p" --> "Yesterday 13:00" */
201201 g_string_assign (ret, dgettext("indicator-datetime", "Yesterday\u2003%H:%M"));
202202 break;
203203
plugins/Utils/relativetimeformatter.h+1
@@ -20,6 +20,7 @@
2020
2121#include "timeformatter.h"
2222
23+// TODO - move this to the sdk
2324class RelativeTimeFormatter : public GDateTimeFormatter
2425{
2526 Q_OBJECT