[gnome-shell] [perf] Write UTC dates into performance logs
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] [perf] Write UTC dates into performance logs
- Date: Wed, 26 May 2010 22:27:40 +0000 (UTC)
commit 5b971a66ba85f221a41d91f20f724935882df924
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Wed May 26 16:53:20 2010 -0400
[perf] Write UTC dates into performance logs
Instead of writing a local date without a timezone, write a UTC
date with a trailing Z.
src/gnome-shell.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-shell.in b/src/gnome-shell.in
index 772a8cf..2dfb4f3 100644
--- a/src/gnome-shell.in
+++ b/src/gnome-shell.in
@@ -439,7 +439,7 @@ def run_performance_test():
# version here for simplicity. Using json.dump(indent=0) doesn't real
# improve the readability of the output much.
report = {
- 'date': datetime.datetime.now().isoformat(),
+ 'date': datetime.datetime.utcnow().isoformat() + 'Z',
'events': events,
'monitors': monitors,
'metrics': metric_summaries,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]