[nemiver] Use local time instead of UTC time
- From: Fabien Parent <fparent src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Use local time instead of UTC time
- Date: Sun, 23 Oct 2011 14:52:45 +0000 (UTC)
commit b698a15c213b5efba15109828e8429ae4e1ae83f
Author: Fabien Parent <parent f gmail com>
Date: Wed Oct 19 17:17:51 2011 +0200
Use local time instead of UTC time
* src/common/nmv-date-utils.cc (get_current_datetime): return local time
instead of UTC time
src/common/nmv-date-utils.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/common/nmv-date-utils.cc b/src/common/nmv-date-utils.cc
index 78ec977..03141f8 100644
--- a/src/common/nmv-date-utils.cc
+++ b/src/common/nmv-date-utils.cc
@@ -48,7 +48,7 @@ void
get_current_datetime (struct tm &a_tm)
{
time_t now = get_current_datetime ();
- gmtime_r (&now, &a_tm);
+ localtime_r (&now, &a_tm);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]