Questions tagged [postdate]

50 questions
3
votes
1 answer

How to filter entries by month and year?

I'm taking the month and year from parameters in the url like this... {% set month = craft.request.getParam('month') %} {% set year = craft.request.getParam('year') %} The url would look like this: ?month=September&Year=2014 ... and want to return…
user1070143
  • 1,106
  • 12
  • 24
1
vote
1 answer

{{ entry.postDate|date }} Variable "entry" does not exist

Might be basic, but not sure where I'm doing wrong. I was trying to display the post date of an article using this code {{ entry.postDate|date('medium') }}. But getting the error stating "Variable "entry" does not exist."
Bala
  • 21
  • 3
1
vote
1 answer

postDate keeps jumping ahead when editing an entry

When I edit an existing entry the post date jumps ahead by an hour meaning I have to manually remove it before saving the changes. I thought it may have something to do with the timezone but this is set to the correct timezone. Has anyone come…
JRW
  • 109
  • 6