projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7584534
)
Bug 11262: (follow-up) base generation of day name on a week starting with Sunday...
author
Galen Charlton
<gmc@esilibrary.com>
Mon, 5 May 2014 16:27:01 +0000
(16:27 +0000)
committer
Galen Charlton
<gmc@esilibrary.com>
Mon, 5 May 2014 16:27:01 +0000
(16:27 +0000)
This fixes test failures reported by
t/db_dependent/Serials/GetNextSeq.t.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Serials.pm
patch
|
blob
|
history
diff --git
a/C4/Serials.pm
b/C4/Serials.pm
index
380ec7d
..
560f90e
100644
(file)
--- 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 mo
nday
+ # 1970-
11-01 was a Su
nday
$value = $value % 7;
my $dt = DateTime->new(
year => 1970,
- month =>
6
,
+ month =>
11
,
day => $value + 1,
locale => $locale,
);