Ticket #5292 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

get_lastpostdate, get_lastpostmodified filters don't pass enough parameters

Reported by: mdawaffe Owned by: 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 Download (732 bytes) - added by mdawaffe 4 years ago.

Change History

comment:1   ryan4 years ago

  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.