Source: sbuild
Severity: minor

Hi,

just as a reminder to not forget about this:

At several places sbuild calls strftime with locale dependent format
strings. In these cases, sbuild should behave independent of the locale
of the sbuild user. Something like this might be appropriate:

use POSIX qw(locale_h);
$old_locale = setlocale(LC_TIME);
setlocale(LC_TIME, "C.UTF8");
strftime "%a, %d %b %Y %H:%M:%S UTC", gmtime();
setlocale(LC_TIME, $old_locale);

cheers, josch

Reply via email to