Horodate GMT graph temperature #1

Closed
opened 2015-09-26 22:10:56 +00:00 by chteufleur · 3 comments
Owner

The data are stored in GMT, and are print in GMT.

The data are stored in GMT, and are print in GMT.
Author
Owner

use this

package main

import "fmt"
import "time"

func main() {
	t := time.Now()
	name, offset := t.Zone()
	fmt.Println(name, offset, t.Unix(), t.Unix()+int64(offset))
}

instead of adding in highstock

use this ``` package main import "fmt" import "time" func main() { t := time.Now() name, offset := t.Zone() fmt.Println(name, offset, t.Unix(), t.Unix()+int64(offset)) } ``` instead of adding in highstock
Author
Owner
https://play.golang.org/p/FGppm9-kEt
Author
Owner

Fix in commit 049734f8a3

Fix in commit 049734f8a321cdc851f392366969c65c2f695927
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: chteufleur/DataHouse#1
No description provided.