View Full Version : Date field normalization

9 May 2012, 9:06 AM
The current date field implementation performs a date normalization on the input value. For example, if you type in 5/32/2012, it changes the value to 6/1/2012.

This is undesirable from a user interface perspective, since the system silently changes the user's input in a significant way without any obvious feedback to the user that it is doing so. I would much rather that these fields be left unnormalized and flagged as invalid.

Are there any settings or workaround to prevent the silent date normalization from taking place?

9 May 2012, 11:30 AM
Never mind, found the answer.

Ext.Date.useStrict = true;