From 38de15c0e6cbe44abfedd7ce1a540b8fd59d5a86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 10 Mar 2020 09:42:47 +0100 Subject: [PATCH] =?utf8?q?ZUGFeRD:=20Mehr=20monatliche=20Einheitsvarianten?= =?utf8?q?=20erlauben=20und=20Jahr=20(ANN)=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Helper/UNECERecommendation20.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SL/Helper/UNECERecommendation20.pm b/SL/Helper/UNECERecommendation20.pm index 3b77428c4..b2ab90375 100644 --- a/SL/Helper/UNECERecommendation20.pm +++ b/SL/Helper/UNECERecommendation20.pm @@ -10,6 +10,7 @@ our @EXPORT_OK = qw(map_name_to_alpha_2_code); use List::Util qw(first); my @mappings = ( + # space and time # areas [ 'MTK', qr{^(?:m²|qm|quadrat *meter|quadrat *metre)$}i ], @@ -21,9 +22,10 @@ my @mappings = ( # durations [ 'SEC', qr{^(?:s|sec|second|sek|sekunde)$}i ], [ 'MIN', qr{^min(?:ute)?$}i ], - [ 'MON', qr{^mon(?:th|at)?$}i ], [ 'HUR', qr{^(?:h(?:our)?|std(?:unde)?)$}i ], [ 'DAY', qr{^(?:day|tag)$}i ], + [ 'MON', qr{^mon(?:th|at|atlich)?$}i ], + [ 'ANN', qr{^(?:yearly|annually|jährlich|Jahr)?$}i ], # mass [ 'MGM', qr{^(?:mg|milli *gramm?)$}i ], -- 2.20.1