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

--- Comment #1 from Reedy <s...@reedyboy.net> 2011-06-05 23:10:50 UTC ---
Not sure on the best way to address this one.

Timestamp in all cases, bar seemingly this one, are designed to be single.

Adding a timestamps (plural) type, for multi usage just seems daft, but
changing the underlying timestamp time type to an array, would mean going
through and doing $params['start'][0], else changing the validation to do

if ( $multi ) {
if ( !is_array ) {
$array = array( $array );
}
foreach item in array
validate timestamp
} else {
validate timestamp
}

Else something more like integer, check it's an array, and base it on that.
Which, I guess, is just another way of doing the stuff above too

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to