Date fields that only have date granularity give tokens that are one day early. This seems to be a timezone issue -- the field editor prevents setting timezone preferences for fields without time values, but the timezone seems to be necessary for generating the tokens correctly.

Comments

karens’s picture

I made a fix for that, but it is not in the release any more for some reason. I have to go back and put that back in :/

kopo88’s picture

Could you please point me to where the bug is in the code? I'm thinking about trying to fix it myself if it's going to take you some time to put it back in.

kopo88’s picture

Karen, do you know if there's any way I can fix this? It's holding up some functionality I need for a current project.

Moonshine’s picture

Status: Active » Closed (duplicate)

Let's fix this. :) Please see:

#313704: Date tokens returning earlier date