Skip to content

Scene struct created_at and updated_at fields need to be converted differently #6

@panicpanicpanic

Description

@panicpanicpanic

GetScenes currently returns this error:
parsing time "1542058561" as ""2006-01-02T15:04:05Z07:00"": cannot parse "1542058561" as """

Might be an issue with the Scene struct:

type Scene struct {
	UUID      string            `json:"uuid"`
	Name      string            `json:"name"`
	Account   map[string]string `json:"account"`
	CreatedAt time.Time         `json:"created_at"`
	UpdatedAt time.Time         `json:"updated_at"`
	States    []State           `json:"states"`
}

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions