http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14922
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #14 from Jonathan Druart <[email protected]> --- Marc, I would prefer the first version, could be done with: my ( $yyyy, $mm, $dd ) = ( $today->year, $today->month, $today->day ); $value =~ s/YYYY/$yyyy/g; $value =~ s/MM/$mm/g; $value =~ s/DD/$dd/g; and avoid 1 call to output_string. Especially because it's how we did on bug 14950 for batchMod.pl (also the default values). But maybe we have an issue, the $today->day returns "8" instead of "08". I don't know what is the expected behavior. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
