projects
/
platform
/
framework
/
native
/
app-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7897b04
)
[N_SE-41860] fix the bug of SetCurrentTime.
author
Hokwon Song
<hokwon.song@samsung.com>
Wed, 19 Jun 2013 05:34:58 +0000
(14:34 +0900)
committer
Hokwon Song
<hokwon.song@samsung.com>
Wed, 19 Jun 2013 05:34:58 +0000
(14:34 +0900)
Change-Id: I15aa304bc62a0eb106c064b358a28cdee70aac06
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
src/FSys_SystemService.cpp
patch
|
blob
|
history
diff --git
a/src/FSys_SystemService.cpp
b/src/FSys_SystemService.cpp
index
d211303
..
7158b3d
100644
(file)
--- a/
src/FSys_SystemService.cpp
+++ b/
src/FSys_SystemService.cpp
@@
-302,6
+302,7
@@
_SystemService::OnRequestOccured(AppId appId, int pid, ArrayList* request, Array
{
int millisecond = 0;
sscanf(datetime, "%3d %2d %2d %2d:%2d:%2d:%3d", &(tTime.tm_year), &(tTime.tm_mon), &(tTime.tm_mday), &(tTime.tm_hour), &(tTime.tm_min), &(tTime.tm_sec), &millisecond);
+ tTime.tm_isdst = -1;
time_t _tTime = mktime(&tTime);
timeval _requestTimeVal;
_requestTimeVal.tv_sec = _tTime;