db_format_tsfield() returning time value with offset on Postgres 9.3
Bug #1353069 reported by
Yuliya Bozhko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Critical
|
Yuliya Bozhko | ||
1.10 |
Fix Released
|
Critical
|
Unassigned | ||
1.8 |
Fix Released
|
Critical
|
Unassigned | ||
1.9 |
Fix Released
|
Critical
|
Unassigned | ||
15.04 |
Fix Released
|
Critical
|
Yuliya Bozhko |
Bug Description
On postgres db_format_tsfield() calculates time by doing FLOOR(EXTRACT(EPOCH FROM {$field})) which apparently doesn't make sense if we are using fields without timezone (by reading this http://
Changed in mahara: | |
status: | New → In Progress |
assignee: | nobody → Yuliya Bozhko (yuliya.bozhko) |
Changed in mahara: | |
importance: | Undecided → Critical |
milestone: | none → 15.04.0 |
summary: |
- db_format_tsfield() returning time value with offset on POstgres + db_format_tsfield() returning time value with offset on Postgres 9.3 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/3573