Bugzilla – Attachment 99173 Details for
Bug 24674
Uncertain years for publicationyear/copyrightdate -- corrected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24674: Uncertain years for publicationyear/copyrightdate -- corrected
0001-Bug-24674-Uncertain-years-for-publicationyear-copyri.patch (text/plain), 1.25 KB, created by
Janusz Kaczmarek
on 2020-02-18 10:58:31 UTC
(
hide
)
Description:
Bug 24674: Uncertain years for publicationyear/copyrightdate -- corrected
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2020-02-18 10:58:31 UTC
Size:
1.25 KB
patch
obsolete
>From a3f884e1755cc918dc61a585b6c07ebcad21afb5 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Mon, 17 Feb 2020 12:58:46 +0100 >Subject: [PATCH] Bug 24674: Uncertain years for publicationyear/copyrightdate > -- corrected > >This is a correction to Bug 11046: YYY-, YY--, Y---, are also >correct according to ISBD: uncertain year, but certain decade/century >(cf. n. 4.3.8 in ISBD Consolidated Edition of 2011). >(Question mark is not mandatory.) > >In addition, in Poland a form with one only dash is quite common, >like YY- (== YY--). >--- > C4/Biblio.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index aa401d5646..3d1115bd76 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -2490,9 +2490,9 @@ sub _adjust_pubyear { > (?<year>\d)[-]?[.Xx?]{3} > |(?<year>\d{2})[.Xx?]{2} > |(?<year>\d{3})[.Xx?] >- |(?<year>\d)[-]{3}\? >- |(?<year>\d\d)[-]{2}\? >- |(?<year>\d{3})[-]\? >+ |(?<year>\d)[-]{1,3}\?? >+ |(?<year>\d\d)[-]{1,2}\?? >+ |(?<year>\d{3})[-]\?? > /xms ) { # the form 198-? occurred in Dutch ISBD rules > my $digits = $+{year}; > $retval = $digits * ( 10 ** ( 4 - length($digits) )); >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24674
:
99088
|
99173
|
99186
|
125108
|
125109
|
125110
|
126810
|
126811
|
126812