[dates] Use %x in TIME_MARKUP to display date correctly in different languages
- From: Ross Burton <rburton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dates] Use %x in TIME_MARKUP to display date correctly in different languages
- Date: Tue, 3 Nov 2009 16:15:28 +0000 (UTC)
commit 56d08c6982d66cb99ae4d06dad41eafba59dcb6e
Author: Xu Li <xu li intel com>
Date: Thu Oct 22 11:44:17 2009 +0800
Use %x in TIME_MARKUP to display date correctly in different languages
The specifier '%x' is locale-dependent, while '%d %b %Y' are not.
src/dates_callbacks.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dates_callbacks.c b/src/dates_callbacks.c
index b17a963..d704c8f 100644
--- a/src/dates_callbacks.c
+++ b/src/dates_callbacks.c
@@ -39,7 +39,7 @@
#include <hildon/hildon-note.h>
#endif
-#define TIME_MARKUP "%k:%M\n<small>%d %b %Y</small>"
+#define TIME_MARKUP "%k:%M\n<small>%x</small>"
#define CONVERT_CHILD_ITER(_filter,_child,_iter)\
(gtk_tree_model_filter_convert_child_iter_to_iter (\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]