Displaying 2 results from an estimated 2 matches for "yyyymmddhhmm".
2006 Apr 09
6
Validating a DateTime
Hi,
Does anyone know of a method to validate a DateTime field?
I''ve looked at the validation docs and the validates_date /
validates_time plug-in but I can''t find a method to validate a value in
the format of yyyymmddhhmm. It seems like something that should exist
already, so I''d just like to check before I attempt my own version...
Cheers,
Mark
2013 Jul 01
3
Asterisk 1.8.20 AGI function SAY DATETIME does not play anything when mode in say.conf is changed to "new"
..._digit:[0-9] => digits/${SAY}
_digit:[-] => letters/dash
_digit:[*] => letters/star
_digit:[@] => letters/at
_digit:[0-9]. => digit:${SAY:0:1}, digit:${SAY:1}
[date-base](!) ; base rules for dates and times
; the 'SAY' variable contains YYYYMMDDHHmm.ss-dow-doy
; these rule map the strftime attributes.
_date:Y:. => num:${SAY:0:4} ; year, 19xx
_date:[Bbh]:. => digits/mon-$[${SAY:4:2}-1] ; month name, 0..11
_date:[Aa]:. => digits/day-${SAY:16:1} ; day of week
_date:[de]:. => num:${SAY:6:2} ;...