|
Locale-Sensitive JavaScript MethodInternationalization (I18n) Method OverviewThe Click here (w3schools) and here (MDN) for additional details. I18n IssuesWhether or not calling
Suggested ReplacementIf you need to support a time zone other than the system's local time zone, you will need to replace this method.
We recommend that you store dates/times in UTC and then, when displaying to the user, you convert to the desired time zone. Call one of the following
JavaScript methods to display dates and times based on locale, with support for specifying the time zone: Globalyzer will detect this method and report it as an i18n issue. If you have determined that the call is being handled correctly, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.
|