Merge branch 'master' of git@github.com:plainblack/webgui
Conflicts: docs/upgrades/upgrade_7.8.0-7.8.1.pl
This commit is contained in:
commit
5f3477be4a
17 changed files with 347 additions and 194 deletions
|
|
@ -892,10 +892,10 @@ sub getFieldValue {
|
|||
my $processedValue = $value;
|
||||
my $dbh = $self->session->db->dbh;
|
||||
|
||||
if ($field->{fieldType} eq "date"){
|
||||
if (lc $field->{fieldType} eq "date"){
|
||||
$processedValue = $self->session->datetime->epochToHuman($value,$dateFormat);
|
||||
}
|
||||
elsif ($field->{fieldType} eq "dateTime"){
|
||||
elsif (lc $field->{fieldType} eq "datetime"){
|
||||
$processedValue = $self->session->datetime->epochToHuman($value,$dateTimeFormat);
|
||||
}
|
||||
# TODO: The otherThing field type is probably also handled by getFormPlugin, so the elsif below can probably be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue