This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ParseDate | |
# | |
# A helper for parsing dates of an unknown format. | |
# | |
# Takes a randomly formatted date and makes a best guess at the date, or throws and exception if | |
# there's no best guess. Will take international dates into account if you pass in a 'short form' date | |
# to help suggest a starting point for the search. | |
# Will also try Chronic parsing to get relative dates (yesterday, tomorrow, in 3 days, etc.) | |
# | |
# Examples: |
OlderNewer