lib/isodoc/itu/metadata_date.rb in metanorma-itu-2.5.4 vs lib/isodoc/itu/metadata_date.rb in metanorma-itu-2.5.5
- old
+ new
@@ -1,6 +1,6 @@
module IsoDoc
- module ITU
+ module Itu
class Metadata < IsoDoc::Metadata
def monthyr(isodate)
m = /(?<yr>\d\d\d\d)-(?<mo>\d\d)/.match isodate
m && m[:yr] && m[:mo] or return isodate
"#{m[:mo]}/#{m[:yr]}"