Corrected date pattern in JavaDocs

The 'hh' pattern should be 'HH' as ISO dates use 24hr notation.
master
Phillip Webb 12 years ago
parent a75b6ee5b6
commit ddddec8719
  1. 4
      spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java

@ -83,12 +83,12 @@ public @interface DateTimeFormat {
DATE,
/**
* The most common ISO Time Format <code>hh:mm:ss.SSSZ</code> e.g. 01:30:00.000-05:00.
* The most common ISO Time Format <code>HH:mm:ss.SSSZ</code> e.g. 01:30:00.000-05:00.
*/
TIME,
/**
* The most common ISO DateTime Format <code>yyyy-MM-dd'T'hh:mm:ss.SSSZ</code> e.g. 2000-10-31 01:30:00.000-05:00.
* The most common ISO DateTime Format <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code> e.g. 2000-10-31 01:30:00.000-05:00.
* The default if no annotation value is specified.
*/
DATE_TIME,

Loading…
Cancel
Save