90b9204703
Basic msftidy fixer: diff --git a/tools/dev/msftidy.rb b/tools/dev/msftidy.rb index 9a21b9e398..e9ff2b21e5 100755 --- a/tools/dev/msftidy.rb +++ b/tools/dev/msftidy.rb @@ -442,6 +442,8 @@ class Msftidy # Check disclosure date format if @source =~ /["']DisclosureDate["'].*\=\>[\x0d\x20]*['\"](.+?)['\"]/ d = $1 #Captured date + File.write(@full_filepath, @source.sub(d, Date.parse(d).to_s)) + fixed('Probably updated traditional DisclosureDate to ISO 8601') # Flag if overall format is wrong if d =~ /^... (?:\d{1,2},? )?\d{4}$/ # Flag if month format is wrong |
||
---|---|---|
.. | ||
ghostscript_type_confusion.rb | ||
imagemagick_delegate.rb |