Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

190
Vistas
Why date show on ios diffrent than show on android in react-native

I'm making a react-native app, but i don't understand how, but on android, the date feel like do not change by what i set.

So i have a function to show date, look like this

const showDate = dateFormat.toLocaleString("default", {
    month: "short",
    day: "2-digit",
  });

So weird that it will display so diffrent on android and ios

For android, it display like this, feel like this function do not effect android:

enter image description here

And here is when it show in ios

enter image description here

The different thing i noiticed is android use old time, like when i do not boot emulator, it freeze time, but i don't know what make time display so different on both devices

Please help, thank a lots

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Don’t worry it’s normal it’s just broken on android. Look at moment.js library it works fine on iOS and android.

  Moment(date).format('DD/MM/YYYY, hh:mm:ss')
  Output is 11/11/2019, 1:17:00
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda