[
https://issues.apache.org/jira/browse/WICKET-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694390#action_12694390
]
Jason Rosenberg commented on WICKET-2085:
-----------------------------------------
Also, note in that message there, the validation range for hours appears
incorrect (min 0, max 24)....should it not be 0-23 or 1-12, depending on
whether in 12 or 24 hour mode?
> DateTimeField.HoursValidator relies on deprecated NumberValidator
> -----------------------------------------------------------------
>
> Key: WICKET-2085
> URL: https://issues.apache.org/jira/browse/WICKET-2085
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-datetime
> Affects Versions: 1.4-RC3
> Reporter: Ian Bacher
> Priority: Minor
> Attachments: patch.diff
>
> Original Estimate: 0.25h
> Remaining Estimate: 0.25h
>
> NumberValidator is being deprecated in favor of RangeValidator and the
> DateTimeField.HoursValidator was already emulating RangeValidator. This patch
> makes HoursValidator a subclass of RangeValidator with no change to the API.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.