Ticket #5292 (closed defect: fixed)

Opened 8 months ago

Last modified 6 months ago

get_lastpostdate, get_lastpostmodified filters don't pass enough parameters

Reported by: mdawaffe Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version:
Severity: normal Keywords: has-patch 2nd-opinion
Cc:

Description

get_lastpostdate() and get_lastpostmodified() both accept a timezone parameter and filter their respective results.

However, the filter doesn't know how the timezone parameter was specified and so can't know how to modify the return value. Though core only uses a timezone value of 'GMT', it'd still be nice to know for sure what timezone is being requested when using these filters.

Attached adds the timezone parameter to those filters.

Attachments

5292.diff (0.7 kB) - added by mdawaffe on 10/31/07 03:29:38.

Change History

10/31/07 03:29:38 changed by mdawaffe

  • attachment 5292.diff added.

10/31/07 16:59:06 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [6301]) Post timezone to lastpost filters. Props mdawaffe. fixes #5292