projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e048d
)
[elm_datetime.c] Datetime bug fix - Separator for lastly parsed field is not updated...
author
sumanth
<sumanth.m@samsung.com>
Mon, 29 Apr 2013 11:07:21 +0000
(16:37 +0530)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:32:12 +0000
(13:32 +0900)
Change-Id: I5ac32273445c8ad620015a35a663e5ba4b9a2933
src/lib/elm_datetime.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_datetime.c
b/src/lib/elm_datetime.c
index
0824096
..
924f1f2
100644
(file)
--- a/
src/lib/elm_datetime.c
+++ b/
src/lib/elm_datetime.c
@@
-297,6
+297,14
@@
_parse_format(Evas_Object *obj,
sep_lookup = EINA_FALSE;
fmt_ptr++;
}
+
+ //update the separator for last field
+ if (field)
+ {
+ separator[len] = 0;
+ eina_stringshare_replace(&field->separator, separator);
+ }
+
// return the number of valid fields parsed.
return location;
}