Gem for date parsing (in the scale of the day, hours is not very important in my projects now). It support Russian and Ukrainian (in future) languages.
Table of possible phrase types to parse:
----------------------------------------------------------------------------------
TODO:
- Write tests for sure in equality of numerical and literal days values and for sure in right date recognition
- Write YARD documentation
- Type error recognition ('черз' instead 'через') and fixing. (?!: vocabulary + Levenshtein distance). (and look at the http://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance)
- Set start date + Timezone
USAGE:
puts Day::Ru 'через 2 месяца' #=> Wed Sep 14 00:00:00 +0300 2011
puts Day::Ru 'завтра' #=> Wed Jul 15 00:00:00 +0300 2011
# (For other examples see table at the top)