ami pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=952593eef24e58d07efe31ff750f114deee9fb02

commit 952593eef24e58d07efe31ff750f114deee9fb02
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Mon Nov 27 16:55:04 2017 +0900

    Efl.Ui.Format: remove the dupicalte code
    
    struct tm check is already done at the beginning of the function.
---
 src/lib/efl/interfaces/efl_ui_format.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_ui_format.c 
b/src/lib/efl/interfaces/efl_ui_format.c
index 390a45173b..04bf96425e 100644
--- 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);

-- 


Reply via email to