0

I have the following code snippet here from one of my React Native project.

import moment from 'moment';

const format = 'mm:ss:SS';
const startPoint = moment(0).format(format);

Which it displays as

00:00:00

Which is correct. This displays correctly on Android and most IOS phones.

However on Iphone Mini 12, this displays as

30:00:00

I have no clue why this could happen. The timer works just fine in any other devices but on Iphone Mini 12, it behaves differently.

Is there any issue with Moment on Iphone 12 mini that i didn't know about?

Fred A
  • 1,602
  • 1
  • 24
  • 41

0 Answers0