You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by so...@apache.org on 2012/02/22 01:45:08 UTC
svn commit: r1292094 -
/myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateFormat.js
Author: sobryan
Date: Wed Feb 22 00:45:08 2012
New Revision: 1292094
URL: http://svn.apache.org/viewvc?rev=1292094&view=rev
Log:
TRINIDAD-1821
* Thanks for the submission
Modified:
myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateFormat.js
Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateFormat.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateFormat.js?rev=1292094&r1=1292093&r2=1292094&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateFormat.js (original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateFormat.js Wed Feb 22 00:45:08 2012
@@ -730,15 +730,6 @@ function _subparse(
{
year = _fix2DYear(year);
}
- else if (charCount == 4)
- {
- // Bug 2169562: For four-digit year formats, reject
- // three-year entries. Fair enough!
- if (enteredChars == 3)
- return false;
- if (enteredChars <= 2)
- year = _fix2DYear(year);
- }
// There is no year "0"
if (year == 0)