[HOTFIX] Fix time conversion bug 18/104718/1 accepted/tizen/3.0/common/20161215.164932 accepted/tizen/3.0/ivi/20161215.085621 accepted/tizen/3.0/mobile/20161215.085515 accepted/tizen/3.0/tv/20161215.085540 accepted/tizen/3.0/wearable/20161215.085556 submit/tizen_3.0/20161214.084528
authorsangwan.kwon <sangwan.kwon@samsung.com>
Wed, 14 Dec 2016 06:35:09 +0000 (15:35 +0900)
committersangwan.kwon <sangwan.kwon@samsung.com>
Wed, 14 Dec 2016 07:10:35 +0000 (16:10 +0900)
commit1ba032d40e6806534a7d0c132af111cea6b06d08
tree566f661138329117ca38dde55248511d0d73e0b0
parentb152365e0068d1ced00c7ea6d7d70e8bc0bb3a75
[HOTFIX] Fix time conversion bug

[ error ]
- Time conversion is not work properly.

[ problem ]
- mktime() returns the value of type time_t
  that represents the local time.

[ solution ]
- Use timegm() for convert tm to time_t as UTC time

See, https://linux.die.net/man/3/timegm

Change-Id: Ic30fe0054c8f456a2ada13f35f3764e4599c545d
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
src/vcore/TimeConversion.cpp