Add comment clarifying why we need the day for ISO

GSoC/Meterpreter_Web_Console
William Vu 2018-11-16 13:25:01 -06:00
parent 90b9204703
commit 2b231d33e5
1 changed files with 1 additions and 0 deletions

View File

@ -452,6 +452,7 @@ class Msftidy
]
error('Incorrect disclosure month format') if months.index(m).nil?
# XXX: yyyy-mm is interpreted as yyyy-01-mm by Date::iso8601
elsif d =~ /^\d{4}-\d{2}-\d{2}$/
begin
Date.iso8601(d)