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

User guide and examples has some wrong date formatting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0-RC1
    • documentation, examples
    • None

    Description

      In the examples (at least in the Ajax examples, and the Page Action Link example), and corresponding pages in the user guide, there are date formatting like this

      String now = format.currentDate("MMM, yyyy dd HH:MM:ss");

      which is wrong. That puts the month number as minutes in the time stamp. Proper formatting would be

      String now = format.currentDate("MMM, yyyy dd HH:mm:ss");

      Attachments

        Activity

          People

            sabob Bob Schellink
            ejeklint Per Ejeklint
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: