# modification of the Google Rule to recommend UK/Euro/Asia "31 July 2016" instead of the Anglo Saxon "July 31, 2016" in prose.
# ISO dates "2016-07-31" are allowed too, esp. in example data
extends: existence
message: "Use '31 July 2016' (prose, headings) or `2016-07-31` (example data) format, not '%s'."
link: 'https://developers.google.com/style/dates-times'
ignorecase: true
level: error
nonword: true
tokens:
  - '[^v]\d{1,2}(?:\.|\/)\d{1,2}(?:\.|\/)\d{2,4}'
  - '(?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{1,2}(th|st|nd|rd|) \d{2,4}'
