Loading scheduler.module +2 −7 Changes for scheduler.module: 2 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -642,14 +642,9 @@ function scheduler_feeds_set_target($source, $entity, $target, $value, $mapping) // then strtotime() must not be used, otherwise it returns the current time. if (!empty($value) && !is_numeric($value)) { if (!$timestamp = strtotime($value)) { throw new FeedsValidationException( // Throw an exception if the date format was not recognized. t('Value %value for @source could not be converted to a valid %target date.', [ '@source' => $mapping['source'], '%value' => $value, '%target' => $target, ]) ); $mapping_source = $mapping['source']; throw new FeedsValidationException("Value '$value' for '$mapping_source' could not be converted to a valid '$target' date."); } } else { Loading Loading
scheduler.module +2 −7 Changes for scheduler.module: 2 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -642,14 +642,9 @@ function scheduler_feeds_set_target($source, $entity, $target, $value, $mapping) // then strtotime() must not be used, otherwise it returns the current time. if (!empty($value) && !is_numeric($value)) { if (!$timestamp = strtotime($value)) { throw new FeedsValidationException( // Throw an exception if the date format was not recognized. t('Value %value for @source could not be converted to a valid %target date.', [ '@source' => $mapping['source'], '%value' => $value, '%target' => $target, ]) ); $mapping_source = $mapping['source']; throw new FeedsValidationException("Value '$value' for '$mapping_source' could not be converted to a valid '$target' date."); } } else { Loading