Closed (fixed)
Project:
Date
Version:
7.x-2.2
Component:
Views Filter
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2012 at 19:22 UTC
Updated:
30 Mar 2012 at 21:31 UTC
When I put this code in the views header:
<?PHP echo date(" m/d/y H:i O", strtotime("last sunday")); ?>
I get 03/25/12 16:45 -0600, note date of this post. However if I filter content whose post date is greater than "last sunday" I get a two day difference, I don't see content from sunday or monday of this week, if I change the filter to last saturday I see Mondays content. Using latest released views and date. If I use exact values I see the content fine. Something is introducing a two day offset? I've test "last week sunday" as well as other ways of entering to the same end.
Comments
Comment #1
ralva83638 commentedI've also noticed that this is changing as time goes on, ie if I enter say "last friday 20:30" which through trial and error I found to be within a minute of correct and wait a few minutes I have to adjust it back to "last friday 20:28", note the php header does not change.
Comment #2
ralva83638 commentedSorry, should have posted in views.