am 82a05e51: Use local time in EXIF.
* commit '82a05e51a21a093bab579f8af8b4b8bec0542f90':
Use local time in EXIF.
diff --git a/camera/OMXCameraAdapter/OMXExif.cpp b/camera/OMXCameraAdapter/OMXExif.cpp
index 9744cf4..4c5e555 100755
--- a/camera/OMXCameraAdapter/OMXExif.cpp
+++ b/camera/OMXCameraAdapter/OMXExif.cpp
@@ -333,7 +333,7 @@
if ( OMX_TI_TagReadWrite == exifTags->eStatusDateTime )
{
int status = gettimeofday (&sTv, NULL);
- pTime = gmtime (&sTv.tv_sec);
+ pTime = localtime (&sTv.tv_sec);
if ( ( 0 == status ) && ( NULL != pTime ) )
{
snprintf(( char * ) sharedPtr, EXIF_DATE_TIME_SIZE,
@@ -533,7 +533,7 @@
if ((NO_ERROR == ret)) {
int status = gettimeofday (&sTv, NULL);
- pTime = gmtime (&sTv.tv_sec);
+ pTime = localtime (&sTv.tv_sec);
char temp_value[EXIF_DATE_TIME_SIZE + 1];
if ((0 == status) && (NULL != pTime)) {
snprintf(temp_value, EXIF_DATE_TIME_SIZE,