function testSetLocale() { // should get en_NZ by default through setUp() $f = new TimeField('Time', 'Time'); $f->setLocale('de_DE'); // TODO Find a hour format thats actually different $f->setValue('23:59'); $this->assertEquals($f->dataValue(), '23:59:00'); }
function setLocale($locale) { $this->dateField->setLocale($locale); $this->timeField->setLocale($locale); }
public function setLocale($locale) { $this->dateField->setLocale($locale); $this->timeField->setLocale($locale); return $this; }