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

User guide and examples has some wrong date formatting

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.0-RC1
    • Component/s: documentation, examples
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: