From 05949b49bc749fe0004b781c9b5606ecf6316782 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 5 May 2014 16:27:01 +0000 Subject: [PATCH] Bug 11262: (follow-up) base generation of day name on a week starting with Sunday, not Monday This fixes test failures reported by t/db_dependent/Serials/GetNextSeq.t. Signed-off-by: Galen Charlton --- C4/Serials.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 380ec7d7ae..560f90ecc5 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -2699,11 +2699,11 @@ sub _numeration { my $string; given ($num_type) { when (/^dayname$/) { - # 1970-06-01 was a monday + # 1970-11-01 was a Sunday $value = $value % 7; my $dt = DateTime->new( year => 1970, - month => 6, + month => 11, day => $value + 1, locale => $locale, ); -- 2.39.5