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

getField date_format not working as expected #53

Open
miduku opened this issue May 18, 2016 · 0 comments
Open

getField date_format not working as expected #53

miduku opened this issue May 18, 2016 · 0 comments

Comments

@miduku
Copy link

miduku commented May 18, 2016

per example (https://rtfm.modx.com/extras/revo/lingua#Lingua-lingua.getField) I added
[[*createdon:date=[[!lingua.getField? &field=date_format_lite]]]] but the output was d.m.Y instead of 18.05.2016.

Same problem with date_format_full.

When changing the date settings in Extras>Lingua from d.m.Y to %d.%m.%Y
and writing [[*createdon:strtotime:date=[[!lingua.getField? &field=date_format_lite]]]] it works.

Either this is a bug or the settings and documentation should be updated.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34345995-getfield-date_format-not-working-as-expected?utm_campaign=plugin&utm_content=tracker%2F1919378&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1919378&utm_medium=issues&utm_source=github).
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

1 participant