Home › Forums › Front-end Issues › Date picker hide year for current year, and show it for future years › Reply To: Date picker hide year for current year, and show it for future years
afterthough : it would be even better if the year is displayed only when then event is more than one year ahead. so 2024/03/12 would display “12 march” and 2025/03/12 would display “12 march 2025” but 2025/01/01 would display “01 January” (without the year since there is no ambiguity)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.