Skip to content

Commit

Permalink
Changed the direction of DateParsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Becker committed Dec 7, 2016
1 parent 551e3f8 commit 5a6b1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/feedjira/date_time_utilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module DateTimeUtilities
# This is our date parsing heuristic.
# Date Parsers are attempted in order.
DATE_PARSERS = [
DateTime,
DateTimePatternParser,
DateTimeLanguageParser
DateTimeLanguageParser,
DateTime
].freeze

# Parse the given string starting with the most common parser (default ruby)
Expand Down

0 comments on commit 5a6b1fa

Please sign in to comment.