click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Ejeklint (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLK-770) User guide and examples has some wrong date formatting
Date Thu, 26 May 2011 10:55:47 GMT

     [ https://issues.apache.org/jira/browse/CLK-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Per Ejeklint updated CLK-770:
-----------------------------

    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");

  was:
In the examples (at least in the Ajax examples), 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");


> User guide and examples has some wrong date formatting
> ------------------------------------------------------
>
>                 Key: CLK-770
>                 URL: https://issues.apache.org/jira/browse/CLK-770
>             Project: Click
>          Issue Type: Bug
>          Components: documentation, examples
>    Affects Versions: 2.3.0
>            Reporter: Per Ejeklint
>            Priority: Minor
>
> 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");

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message