This is another case where test scripts will prove particularly valuable.
Encoding problems can seem invisible, so setting test cases would firmly
establish why the code is needed as is.

+        $string = POSIX::strftime( "%Y%m%d", localtime );
> +        $string =~ s/\-//g;
> +        $string = sprintf( "%-*s", $subflength-1, $string );
>

Where are the hyphens coming from that you need to remove them with regexp?
I don't see any possibility of them existing in POSIX::strftime( "%Y%m%d",
localtime ).

-- 
Joe Atzberger
LibLime - Open Source Library Solutions
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to