summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-04 14:09:19 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-04 14:09:19 +0200
commit9384e4e16745d6447eca8823d02a4a330f9592db (patch)
tree55000fcb019569396e283938e9c97def6d7f33b8
parent5c737536458995a110a89d8d2180572681d4a747 (diff)
use ISO-8601 dates in DEBUG
-rw-r--r--telepathy-logger/dbus-service.c4
-rw-r--r--telepathy-logger/log-store-xml.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/telepathy-logger/dbus-service.c b/telepathy-logger/dbus-service.c
index d0b79cd56..24052e38a 100644
--- a/telepathy-logger/dbus-service.c
+++ b/telepathy-logger/dbus-service.c
@@ -440,8 +440,8 @@ _lookup_next_date (RecentMessagesContext *ctx)
{
GDate *date = ctx->ptr->data;
- DEBUG ("Looking up date %u/%u/%u", g_date_get_day (date),
- g_date_get_month (date), g_date_get_year (date));
+ DEBUG ("Looking up date %04u-%02u-%02u", g_date_get_year (date),
+ g_date_get_month (date), g_date_get_day (date));
tpl_log_manager_get_messages_for_date_async (priv->manager,
ctx->account, ctx->identifier, ctx->is_chatroom, date,
diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c
index f44b3a36a..bb8b29388 100644
--- a/telepathy-logger/log-store-xml.c
+++ b/telepathy-logger/log-store-xml.c
@@ -1007,9 +1007,9 @@ _log_store_xml_search_in_files (TplLogStoreXml *self,
if (hit != NULL)
{
hits = g_list_prepend (hits, hit);
- DEBUG ("Found text:'%s' in file:'%s' on date:'%u/%u/%u'", text,
- hit->filename, g_date_get_day (hit->date),
- g_date_get_month (hit->date), g_date_get_year (hit->date));
+ DEBUG ("Found text:'%s' in file:'%s' on date: %04u-%02u-%02u",
+ text, hit->filename, g_date_get_year (hit->date),
+ g_date_get_month (hit->date), g_date_get_day (hit->date));
}
}