projects
/
profile
/
tv
/
apps
/
native
/
air_settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e9408
)
Fix Clock module - wrong time value - tm_mday
75/89675/2
author
Piotr Pruski
<p.pruski@samsung.com>
Mon, 26 Sep 2016 09:44:19 +0000
(11:44 +0200)
committer
Piotr Pruski
<p.pruski@samsung.com>
Mon, 26 Sep 2016 10:31:32 +0000
(12:31 +0200)
Change-Id: I565aba18cc7e9394d4887a858ed960047a9b0e27
Signed-off-by: Piotr Pruski <p.pruski@samsung.com>
src/view/system/view_clock.c
patch
|
blob
|
history
diff --git
a/src/view/system/view_clock.c
b/src/view/system/view_clock.c
index
a087187
..
02b0a75
100644
(file)
--- a/
src/view/system/view_clock.c
+++ b/
src/view/system/view_clock.c
@@
-546,11
+546,12
@@
static void _get_time_from_controls(struct tm *result, const clock_view_priv_dat
elm_datetime_value_get(priv->date_part, &tmp);
result->tm_year = tmp.tm_year;
result->tm_mon = tmp.tm_mon;
- result->tm_mday = tmp.tm_
year
;
+ result->tm_mday = tmp.tm_
mday
;
result->tm_wday = tmp.tm_wday;
result->tm_yday = tmp.tm_yday;
elm_datetime_value_get(priv->time_part, &tmp);
result->tm_hour = tmp.tm_hour;
result->tm_min = tmp.tm_min;
result->tm_sec = tmp.tm_sec;
+ result->tm_isdst = -1;
}