Project

General

Profile

Actions

Bug #3535

closed

Registration date set by CB isn't using database now

Added by krileon almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
24 May 2012
Due date:
% Done:

100%

Estimated time:
3:00 h

Description

Current usage is using PHP date, which Joomla changes the default timezone of resulting in the registration date storing with timezone applied.

https://www.joomlapolis.com/forum/153-professional-member-support/201044-registration-date-is-wrong-two-hours-extra


Files

3535-part1.patch (1.31 KB) 3535-part1.patch krileon, 24 May 2012 19:09
3535-part2.patch (801 Bytes) 3535-part2.patch krileon, 24 May 2012 19:09

Updated by krileon almost 12 years ago

Patch fixes the datedbnow to properly set timezone to UTC on J1.6+ (previous Joomla version behavior remains same). It also adds caching and adds a variable to determine if format should be with (default) or without time. It then applies the new datedbnow function to the registration date as offset is added on display.

Actions #2

Updated by beat almost 12 years ago

  • Target version changed from CB 1.8.1 to CB 1.9
Actions #3

Updated by beat over 11 years ago

  • Status changed from Resolved to Closed
  • Estimated time set to 3:00 h

Fixed as suggested in r1890 .
Thank you Kyle.

Actions

Also available in: Atom PDF