mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #19997
[Bug 1353069] [NEW] db_format_tsfield() returning time value with offset on POstgres
Public bug reported:
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://postgresql.1045698.n5.nabble.com/Possible-problem-with-EXTRACT-
EPOCH-FROM-TIMESTAMP-td2125933.html).
** Affects: mahara
Importance: Undecided
Assignee: Yuliya Bozhko (yuliya.bozhko)
Status: In Progress
** Changed in: mahara
Status: New => In Progress
** Changed in: mahara
Assignee: (unassigned) => Yuliya Bozhko (yuliya.bozhko)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1353069
Title:
db_format_tsfield() returning time value with offset on POstgres
Status in Mahara ePortfolio:
In Progress
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://postgresql.1045698.n5.nabble.com/Possible-problem-with-EXTRACT-
EPOCH-FROM-TIMESTAMP-td2125933.html).
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1353069/+subscriptions
Follow ups
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on Postgres 9.3
From: Robert Lyon, 2015-04-17
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on Postgres 9.3
From: Robert Lyon, 2014-11-25
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on Postgres 9.3
From: Robert Lyon, 2014-11-25
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on Postgres 9.3
From: Son Nguyen, 2014-11-25
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on Postgres 9.3
From: Robert Lyon, 2014-11-25
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on Postgres 9.3
From: Aaron Wells, 2014-11-17
-
[Bug 1353069] A change has been merged
From: Mahara Bot, 2014-11-12
-
[Bug 1353069] A change has been merged
From: Mahara Bot, 2014-11-12
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Aaron Wells, 2014-11-12
-
[Bug 1353069] A change has been merged
From: Mahara Bot, 2014-11-12
-
[Bug 1353069] A patch has been submitted for review
From: Mahara Bot, 2014-11-12
-
[Bug 1353069] A patch has been submitted for review
From: Mahara Bot, 2014-11-12
-
[Bug 1353069] A change has been merged
From: Mahara Bot, 2014-11-12
-
[Bug 1353069] A patch has been submitted for review
From: Mahara Bot, 2014-11-12
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Aaron Wells, 2014-11-12
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Aaron Wells, 2014-11-12
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Aaron Wells, 2014-11-12
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Aaron Wells, 2014-11-12
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Aaron Wells, 2014-11-11
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Aaron Wells, 2014-11-11
-
[Bug 1353069] Re: db_format_tsfield() returning time value with offset on POstgres
From: Simon Coggins, 2014-08-05
-
[Bug 1353069] A patch has been submitted for review
From: Mahara Bot, 2014-08-05
-
[Bug 1353069] [NEW] db_format_tsfield() returning time value with offset on POstgres
From: Yuliya Bozhko, 2014-08-05
References