Ending dates
sokser opened this issue · comments
I notice that the following string parses as a start date instead of ending date: "Ending on 12/15/2014"
require "rubygems"
require "nickel.rb"
Parse the string
string = "Ending on 12/15/2014"
results = Nickel.parse(string, Time.now)
puts results.inspect
Results in: message: "", occurrences: [#<Occurrence type: single, start_date: 20141215>]