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

ralva83638’s picture

I'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.

ralva83638’s picture

Priority: Major » Minor
Status: Active » Closed (fixed)

Sorry, should have posted in views.