From f763d45c00b1356502b75dd1f6f8bbcb34d44ed6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 17 Jul 2015 19:29:53 +0200 Subject: fixed json output (tz-offset vs tz_offset) 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"` } -- cgit v0.10.2