summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"`
}