https://bugzilla.wikimedia.org/show_bug.cgi?id=27957

Patrick <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Patrick <[email protected]> 2011-03-11 07:09:54 UTC ---
(In reply to comment #1)
> You could also combine the datetimepicker with a regexp input.

Thanks for bringing the regexp input to my attention, it's awesome!

The following field definition solves my problem:
{{{field|Deadline|input type=regexp|base
type=datetimepicker|regexp=/^\s?\d\d:\d\d\s?$/|inverse|message=You can either
choose a date and a time, or just a date, but not a time alone.}}}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to