projects
/
framework
/
osp
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d5565c
)
Fix the defect of calculating time
author
Hokwon Song
<hokwon.song@samsung.com>
Fri, 7 Jun 2013 08:45:00 +0000
(17:45 +0900)
committer
Hokwon Song
<hokwon.song@samsung.com>
Fri, 7 Jun 2013 08:45:00 +0000
(17:45 +0900)
Change-Id: I3891cb10a313c38b7eb7ad7fc2bdf80e98107260
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
src/locales/FLclTimeZone.cpp
patch
|
blob
|
history
diff --git
a/src/locales/FLclTimeZone.cpp
b/src/locales/FLclTimeZone.cpp
index
9e52f2a
..
3b302a9
100644
(file)
--- a/
src/locales/FLclTimeZone.cpp
+++ b/
src/locales/FLclTimeZone.cpp
@@
-372,7
+372,7
@@
TimeZone::StandardTimeToUtcTime(const DateTime& standardTime, int rawOffset)
{
ClearLastResult();
DateTime dt = standardTime;
- dt.AddMinutes(rawOffset);
+ dt.AddMinutes(
-
rawOffset);
return dt;
}
@@
-394,7
+394,7
@@
TimeZone::WallTimeToUtcTime(const DateTime& wallTime, int rawOffset, int dstOffs
{
ClearLastResult();
DateTime dt = wallTime;
- dt.AddMinutes(
rawOffset + dstOffset
);
+ dt.AddMinutes(
-(rawOffset + dstOffset)
);
return dt;
}