Uploaded image for project: 'Click'
  1. Click
  2. CLK-650

Load DateField translations from JDK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0-M1
    • extras
    • None

    Description

      From CLK-624:

      Before we all go ahead and submit translations for month and day names (and abbreviations), I think it would make more sense for DateField to generate these names from here:

      http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getMonths%28%29
      http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getShortMonths%28%29
      http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getWeekdays%28%29
      http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html#getShortWeekdays%28%29

      By creating the arrays from java's names we will AFAIK also instantly "support" all language so that DateField.SUPPORTTED_LANGUAGES can be removed.

      Attachments

        1. datefield_no_js.patch
          33 kB
          Finn Bock
        2. datefield.patch
          4 kB
          Bob Schellink

        Activity

          People

            bckfnn Finn Bock
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: