Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-891

working with multiple date Formats return a wrong date for dd/mm/yy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.2
    • None
    • lang.time.*
    • Windows

    Description

      hi,
      while working with multiple date format, when i have date in format 25/11/09 i.e in dd/MM/yy it return me a wrong result.

      Previous Date: 01/11/09, Returned Date: 2009-01-11
      Previous Date: 25/11/09, Returned Date: 2011-01-11

      i was expecting my return date should be in yyyy-MM-dd format

      Other Formar Result:
      Previous Date: 25.11.2009, Returned Date: 2009-11-25
      Previous Date: 25.Nov.2009, Returned Date: 2009-11-25
      Previous Date: Nov.09, Returned Date: 2009-11-01
      Previous Date: Nov.2009, Returned Date: 2009-11-01
      Previous Date: 09.Nov, Returned Date: 2009-11-01
      Previous Date: Nov2509, Returned Date: 2009-11-25
      Previous Date: 2009-11-25, Returned Date: 2009-11-25

      Attachments

        Activity

          People

            chonton Charles Honton
            amit04jain Amit Lodha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified