Entry URI format with postDate not working I have a News channel that's looped on an 'News Index' template. Each news entry is linked to its respective link via {{ entry.url }}. In my News channel settings, I have the entry URI format to be news/{postDate.year}/{slug}. However, the {{ entry.url }} link goes to news/{slug}. I assumed that if you set the URI format in the channel settings, it would create entry URLs based on the specified URI format. But that doesn't seem to be working. Can someone let me know where I'm going awry?
Craft 3 removed the extended DateTime class, so {postDate.year} doesn't work with Craft 3. It must be formatted as {postDate|date('Y')} in the Entry URI format field.