summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-17 17:29:53 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-17 17:29:53 (GMT)
commitf763d45c00b1356502b75dd1f6f8bbcb34d44ed6 (patch)
treeb44c27015f80fb113babdbad581fae27bc535bbd
parentb4e50f0cd8aab1e5a23baad5b000a51c95e6ec9e (diff)
fixed json output (tz-offset vs tz_offset)0.2.0rel-0.2.0
-rw-r--r--ChangeLog4
-rw-r--r--src/helsinki.at/rhrdtime/rhrdtime.go2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0eda9e5..4d073bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015.07.17 -- Version 0.2
+
+* fix json output (tz-offset vs. tz_offset)
+
2015.07.17 -- Version 0.1
* initial release
diff --git a/src/helsinki.at/rhrdtime/rhrdtime.go b/src/helsinki.at/rhrdtime/rhrdtime.go
index e00eb5b..fdbdea5 100644
--- a/src/helsinki.at/rhrdtime/rhrdtime.go
+++ b/src/helsinki.at/rhrdtime/rhrdtime.go
@@ -39,7 +39,7 @@ import (
type timeUpdate struct {
Timestamp int64 `json:"timestamp"`
- TZOffset int `json:"tz-offset"`
+ TZOffset int `json:"tz_offset"`
Week uint8 `json:"week"`
}