Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Year and month reversed using timestamps #94

Open
squarestar opened this issue Aug 17, 2015 · 1 comment
Open

Year and month reversed using timestamps #94

squarestar opened this issue Aug 17, 2015 · 1 comment

Comments

@squarestar
Copy link

When changing the input format to d/m/y, if I set the field to retrieve the date as a timestamp, the year and month are reversed.

@yratof
Copy link

yratof commented May 19, 2016

@squarestar Looking into the code I found this: //if start with dd/ or d/ (not supported by strtotime()). Going deeper into this, if you set the format to m/d/y the displayed format on the ACF field itself ignores this formatting and shows the wordpress formatting.

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

No branches or pull requests

2 participants