Internationalization and localization tools


Locale-Sensitive Python Method

strftime(format)

Internationalization (I18n) Method Overview

The date, datetime and time objects all have an strftime method that returns a string representing the date based on the given format.

Click here for datetime.strftime information.

Click here for date.strftime information.

Click here for time.strftime information.

I18n Issues

The date, datetime and time strftime methods follow the locale.LC_Time formatting conventions. Be sure to have set the locale correctly.

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