Mambo BTS

This is the bug tracking and feature request tracking system for the Mambo open source CMS project. To add a new task, or comment or vote on an existing task, please register, preferably by using the same username that you use on the forums.

Please do not open tasks for bugs in versions earlier than Mambo 4.6.5.

| Tasklist |

FS#474 - Created date continually adds offset when editing content

Attached to Project: Mambo BTS
Opened by Dion McCracken (Dion) - Tuesday, 22 December 2009, 20:27 GMT-4
Task Type Defect
Category Backend
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 4.6.5
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hi.

I recently upgraded from 4.6.2 to 4.6.5. The upgrade went smoothly, and I edited the new config with our site settings - including our offset of +18.

When creating a new content item, the time displayed on the front end is correct.

However, when we modify the item, the offset is applied again (i.e. the Server time + the offset + the offset)!

e.g. I created a test item, and the front end displayed the time/date of “Dec 22, 2009 at 10:15 AM " as expected.

I edited the content, just adding a line of text and nothing else, and now the time/date displays “Dec 23, 2009 at 04:15 AM” on the front end.

If I edit again, the offset gets added once again (”Dec 23, 2009 at 10:15 PM”).

When editing an existing content item, I note that the “Override created date” field is populated with the time currently displayed on the frontend - the offset is then applied to that when saving. If I edit the content again, the “Override created date” field is again populated, with the new “front end displayed time”.

I attempted to troubleshoot and got some help at:

http://forum.mambo-foundation.org/showthread.php?t=17838

... to no avail.

We also tried a fresh install with a fresh database and saw the exact same behaviour with the sample data (i.e. we did not use our production database or site files, only the clean install code / database).

Install is on:

PHP version 5.2.11
MySQL version 4.1.22-standard

Thanks in advance.

This task depends upon

Loading...