Skip to content

Commit

Permalink
chore: Update adiwg-mdtranslator gem dependency to version 2.19.0.pre…
Browse files Browse the repository at this point in the history
….beta.22
  • Loading branch information
jwaspin committed May 24, 2024
1 parent 07e83fe commit e87033f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
adiwg-mdtranslator (2.19.0.pre.beta.21)
adiwg-mdtranslator (2.19.0.pre.beta.22)
adiwg-mdcodes (= 2.9.4.pre.beta.4)
adiwg-mdjson_schemas (= 2.9.3.pre.beta.3)
builder (~> 3.2)
Expand Down
2 changes: 1 addition & 1 deletion lib/adiwg/mdtranslator/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
module ADIWG
module Mdtranslator
# current mdtranslator version
VERSION = "2.19.0-beta.21"
VERSION = "2.19.0-beta.22"
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ def writeXML(hDate)
# date - date (required)
unless date.nil?
case dateRes
when 'Y', 'YM', 'YMD', 'YMDh', 'YMDhm', 'YMDhms'
when 'Y'
dateStr = AdiwgDateTimeFun.stringDateFromDateTime(date, 'Y')
@xml.tag!('gco:Date', dateStr)
when 'YM'
dateStr = AdiwgDateTimeFun.stringDateFromDateTime(date, 'YM')
@xml.tag!('gco:Date', dateStr)
when 'YMD'
dateStr = AdiwgDateTimeFun.stringDateFromDateTime(date, 'YMD')
@xml.tag!('gco:Date', dateStr)
when 'YMDh', 'YMDhm', 'YMDhms'
dateStr = AdiwgDateTimeFun.stringDateTimeFromDateTime(date, 'YMDhms')
@xml.tag!('gco:DateTime', dateStr)
when 'YMDhZ', 'YMDhmZ', 'YMDhmsZ'
Expand Down

0 comments on commit e87033f

Please sign in to comment.