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

Don't override yy with yyyy in explicitly specified format #19

Conversation

jochenberger
Copy link
Collaborator

Currently it is not possible to make the date field use a date format string containing "yy" as "yy" will be mapped to "Y" on the client side.
Also, when one is not specifying a format and the default binding will be used, the current regex replacement will only replace yy by yyyy if it is at the end of the String which will not be the case e.g. if @TimeSignificant is used on the Date.

 * only replace yy by yyyy if using the defaultFormat binding
 * in the default binding, also replace yy by yyyy if it does not stand at the end of the format string
@hlship hlship closed this Apr 2, 2011
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.

2 participants