Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

On certain websites the time is shown in military time whereas when using Safari on the same site it does not. How can I correct it.

  • 3 réponses
  • 1 a ce problème
  • 6 vues
  • Dernière réponse par cor-el

more options

On some message boards it shows military time. Using Safari on the same message boards it shows regular time. I can't find a way to adjust it. Giving you a url example below.

On some message boards it shows military time. Using Safari on the same message boards it shows regular time. I can't find a way to adjust it. Giving you a url example below.

Toutes les réponses (3)

more options

Hi sybil3366,

This sounds like a website preference and not necessarily a Firefox issue. Have you created a user account on these forums? Usually your preferred time preference can be set in your account preferences page for that website.

Hopefully this helps!

more options

If I go to the website using Safari, it's fine. It shows regular time. If I go to the website using Firefox, it shows military time. It has something to do with Firefox. BTW, there is no preference choices.

more options

How is the (local) time reported?

See:

You can see the current time and time zone if you put "alert(Date());" without the quotes in the Code field at the top of the "Tools > Web Developer > Error Console" window (Cmd+Shift+J) and click the Evaluate button.

  • Use alert((new Date).toLocaleString()); to get the time in your current time zone.
  • Use alert((new Date).toUTCString()); to get the time in UTC (GMT).