Refactor calls of the strftime_localized