diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index d53afcdf6..ab95dc0da 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -3,6 +3,7 @@ - fixed: missing per-item template variables for the cart. - fixed #11696: WebGUI 7.9.8 gotcha - fixed #11698: Trash dies on missing or bad workflow + - fixed #11692: Dates not imported correctly into Thingy 7.9.8 - fixed #11651: First Day of Week is a string... diff --git a/lib/WebGUI/Asset/Wobject/Thingy.pm b/lib/WebGUI/Asset/Wobject/Thingy.pm index be8351205..9358fb3a2 100644 --- a/lib/WebGUI/Asset/Wobject/Thingy.pm +++ b/lib/WebGUI/Asset/Wobject/Thingy.pm @@ -2901,7 +2901,7 @@ sub www_import { my $fieldType = $insertColumn->{fieldType}; my $fieldInOtherThingId = $insertColumn->{fieldInOtherThingId}; # TODO: process dates and otherThing field id's - if ($fieldType eq "date" || $fieldType eq "dateTime"){ + if (lc $fieldType eq "date" || lc $fieldType eq "datetime"){ $fieldValue =~ s/\//-/gx; $fieldValue = $session->datetime->setToEpoch($fieldValue); }