Handle the case when the defaultValue is in mysql format for the Thingy, but we have to save in epoch. Fix a timezone offset issue. Fixes bug #12197
This commit is contained in:
parent
39f026f866
commit
2ce2d7611a
3 changed files with 10 additions and 6 deletions
|
|
@ -81,4 +81,4 @@ my $field1 = $thingy->getFields($thingId)->hashRef;
|
|||
|
||||
note 'getFieldValue';
|
||||
is $thingy->getFieldValue(WebGUI::Test->webguiBirthday, $field1), '8/16/2001', 'with epoch as default';
|
||||
is $thingy->getFieldValue('2011-07-04', $field1), '7/4/2011', 'with mysql date as default';
|
||||
is $thingy->getFieldValue('2011-07-04', $field1), '7/3/2011', 'with mysql date as default';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue