opsgenie / opsgenie-go-sdk-v2

Opsgenie GO SDK v2
Apache License 2.0
34 stars 63 forks source link

Non-idiomatic Time Format Used #114

Open MarkRosemaker opened 1 year ago

MarkRosemaker commented 1 year ago

For some reason, the time format 2006-01-02T15:04:05.000Z is used instead of the idiomatic time.RFC3339 or time.RFC3339Nano.

This does not work well for different time zones or daylights saving time (playground link).

Possible fixes: