summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_ui_format.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c
index c0dd9d6b42..b55cda074d 100644
--- a/src/lib/efl/interfaces/efl_ui_format.c
+++ b/src/lib/efl/interfaces/efl_ui_format.c
@@ -24,7 +24,12 @@ _default_format_cb(void *data, Eina_Strbuf *str, const Eina_Value value)
24 eina_value_get(&value, &v); 24 eina_value_get(&value, &v);
25 eina_strbuf_append_printf(str, sd->template, v); 25 eina_strbuf_append_printf(str, sd->template, v);
26 } 26 }
27 //XXX: handle other types e.g. struct tm 27 else if (type == EINA_VALUE_TYPE_TM)
28 {
29 struct tm v;
30 eina_value_get(&value, &v);
31 eina_strbuf_append_strftime(str, sd->template, &v);
32 }
28 else 33 else
29 { 34 {
30 char *v = eina_value_to_string(&value); 35 char *v = eina_value_to_string(&value);