As i understand, if format of date differs from USA standards, in AnalogDisplay's component 'new Date(props.time)' will be output 'Invalid Date'. That's why animations of arrows will not working. CSS property 'transform' will get NaN.
(At least with the Russian date format, such a problem exists.)
Local time formatting only in 'DigitalDisplay' - it's my solvetion of this problem.
As i understand, if format of date differs from USA standards, in AnalogDisplay's component 'new Date(props.time)' will be output 'Invalid Date'. That's why animations of arrows will not working. CSS property 'transform' will get NaN.
(At least with the Russian date format, such a problem exists.)
Local time formatting only in 'DigitalDisplay' - it's my solvetion of this problem.