mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 22:18:46 +02:00
Merge remote-tracking branch 'origin/support/3.2' into develop
This commit is contained in:
@@ -83,7 +83,7 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
|
||||
$formatter = new \IntlDateFormatter(\Locale::getDefault(), \IntlDateFormatter::MEDIUM, \IntlDateFormatter::SHORT, 'UTC');
|
||||
|
||||
return $formatter->format(new \DateTimeImmutable(
|
||||
$value->format('Y-m-d H:i:s.u'),
|
||||
($value->format('y') > 0 ? '+' : '').$value->format('Y-m-d H:i:s.u'),
|
||||
new \DateTimeZone('UTC')
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user