projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
61c8028
)
Merge "Fix the defect of calculating time" into tizen_2.2
author
Jungmin, Park
<jungmin76.park@samsung.com>
Fri, 7 Jun 2013 08:48:33 +0000
(17:48 +0900)
committer
Gerrit Code Review
<gerrit2@kim11>
Fri, 7 Jun 2013 08:48:33 +0000
(17:48 +0900)
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;
}