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

Already on GitHub? Sign in to your account

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

wants to merge 1 commit into


None yet
2 participants

jochenberger commented Dec 7, 2010

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.

@jochenberger jochenberger don't replace yy by yyyy if format is explicitly specified
 * 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