Skip to content

Commit 73a6118

Browse files
authored
Export timezone in thing extract command (#142)
1 parent 9e21d68 commit 73a6118

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/template/extract.go

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import (
3232
func FromThing(thing *iotclient.ArduinoThing) map[string]interface{} {
3333
template := make(map[string]interface{})
3434
template["name"] = thing.Name
35+
template["timezone"] = thing.Timezone
3536

3637
// Extract template from thing structure
3738
var props []map[string]interface{}

0 commit comments

Comments
 (0)