diff options
author | David Laban <david.laban@collabora.co.uk> | 2011-05-19 19:26:45 -0400 |
---|---|---|
committer | David Laban <david.laban@collabora.co.uk> | 2011-05-19 19:42:39 -0400 |
commit | f75c7a61548d8453d483e79aedeba97e23b398fa (patch) | |
tree | 344748aa6216c284a87f4b589cccc4a788ab2d17 /telepathy-logger/log-store-xml.c | |
parent | 63a51e2b2170f8cc333c756093f0c8a051c9deb4 (diff) | |
download | telepathy-logger-f75c7a61548d8453d483e79aedeba97e23b398fa.tar.gz |
fixup! Store events in the correct file according to their timestamp
> > + date = g_date_time_new_from_unix_local (timestamp);
>
> Timestamp in TplEvent are always UTC.
Diffstat (limited to 'telepathy-logger/log-store-xml.c')
-rw-r--r-- | telepathy-logger/log-store-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c index 40c7092..8443de0 100644 --- a/telepathy-logger/log-store-xml.c +++ b/telepathy-logger/log-store-xml.c @@ -370,7 +370,7 @@ log_store_xml_get_timestamp_filename (GType type, gchar *filename; GDateTime *date; - date = g_date_time_new_from_unix_local (timestamp); + date = g_date_time_new_from_unix_utc (timestamp); date_str = g_date_time_format (date, LOG_TIME_FORMAT); filename = g_strconcat (date_str, log_store_xml_get_file_suffix (type), NULL); |