From 2b231d33e54f515ee1788c78aba1720b3e508ad6 Mon Sep 17 00:00:00 2001 From: William Vu Date: Fri, 16 Nov 2018 13:25:01 -0600 Subject: [PATCH] Add comment clarifying why we need the day for ISO --- tools/dev/msftidy.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/dev/msftidy.rb b/tools/dev/msftidy.rb index 9a21b9e398..24a4215d48 100755 --- a/tools/dev/msftidy.rb +++ b/tools/dev/msftidy.rb @@ -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)