created_at and updated_at times don't include timezone
Bug #1561200 reported by
Steve McLellan
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| neutron |
Fix Released
|
High
|
Kevin Benton | ||
Bug Description
created_at and updated_at were recently added to the API calls and notifications for many neutron resources (networks, subnets, ports, possibly more), which is awesome! I've noticed that the times don't include a timezone (compare to nova servers and glance images, for instance).
Even if there's an assumption a user can make, this can create problems with some display tools (I noticed this because a javascript date formatting filter does local timezone conversions when a timezone is created, which meant times for resources created seconds apart looked as though they were several hours adrift.
Tested on neutron mitaka RC1.
| Changed in neutron: | |
| milestone: | none → newton-rc1 |
| tags: | added: api |
| Changed in neutron: | |
| importance: | Undecided → High |
| Changed in neutron: | |
| milestone: | newton-rc1 → ocata-1 |
| tags: | added: newton-rc-potential |
| Changed in neutron: | |
| milestone: | ocata-1 → newton-rc2 |
| tags: | removed: newton-rc-potential |
| tags: | added: neutron-proactive-backport-potential |
| tags: | removed: neutron-proactive-backport-potential |
To post a comment you must log in.

AFAIK the time reported is UTC, you can convert it to local time if need be.