Skip to content

Conversation

@profio1997
Copy link

This PR normalizes partial dates (YYYY, YYYY-MM) to full ISO strings for sorting. It replaces the Liquid date filter with string ops so year-only and year-month values display and sort correctly.

Fixes #3271

@netlify
Copy link

netlify bot commented Aug 17, 2025

Deploy Preview for relaxed-lollipop-b6bc17 ready!

Name Link
🔨 Latest commit 7c0fb42
🔍 Latest deploy log https://app.netlify.com/projects/relaxed-lollipop-b6bc17/deploys/68a220fb41ffa500081f6836
😎 Deploy Preview https://deploy-preview-3272--relaxed-lollipop-b6bc17.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@george-gca
Copy link
Collaborator

george-gca commented Sep 1, 2025

I like your solution, but since this code is repeated in multiple files, maybe it is a good idea to create a plugin for it. Maybe create a new liquid filter that alters the date value, something like _plugins/cache-bust.rb does with urls. What do you think?

@stale
Copy link

stale bot commented Nov 5, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 5, 2025
@alshedivat
Copy link
Owner

@codex, can you look into refactoring changes proposed in this PR to avoid code repetition (consider adding a plugin to _plugins/ for sorting by date)?

@stale stale bot removed the wontfix label Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sorting Issues on CV Page

3 participants