Internationalization and localization tools


Locale-Sensitive Python Method

datetime.tzname()

time.tzname()

Internationalization (I18n) Method Overview

These tzname methods return the name of the time zone associated with the datetime object.

Click here for datetime.tzname information.

Click here for time.tzname information.

I18n Issues

The time zone names are not translated.

It is necessary to use a python library like pytz or i18n to get translated time zone names.

Please see Times and Dates for more information.

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.

Locale-Sensitive Python Methods

Lingoport internationalization and localization services and software