projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8789e5
)
Efl.Ui.Format: remove the dupicalte code
author
Amitesh Singh
<amitesh.sh@samsung.com>
Mon, 27 Nov 2017 07:55:04 +0000
(16:55 +0900)
committer
Amitesh Singh
<amitesh.sh@samsung.com>
Mon, 27 Nov 2017 07:55:04 +0000
(16:55 +0900)
struct tm check is already done at the beginning of the function.
src/lib/efl/interfaces/efl_ui_format.c
patch
|
blob
|
history
diff --git
a/src/lib/efl/interfaces/efl_ui_format.c
b/src/lib/efl/interfaces/efl_ui_format.c
index
390a451
..
04bf964
100644
(file)
--- a/
src/lib/efl/interfaces/efl_ui_format.c
+++ b/
src/lib/efl/interfaces/efl_ui_format.c
@@
-100,12
+100,6
@@
_default_format_cb(void *data, Eina_Strbuf *str, const Eina_Value value)
eina_value_get(&value, &v);
eina_strbuf_append_printf(str, sd->template, v);
}
- else if (type == EINA_VALUE_TYPE_TM)
- {
- struct tm v;
- eina_value_get(&value, &v);
- eina_strbuf_append_strftime(str, sd->template, &v);
- }
else
{
char *v = eina_value_to_string(&value);