Skip to content

Commit

Permalink
Fix #199. - is a valid timezone name character
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Jul 30, 2016
1 parent b7b86ed commit 167df3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parse/datetime/parsers.ex
Expand Up @@ -154,7 +154,7 @@ defmodule Timex.Parse.DateTime.Parsers do
end

def zname(_) do
word_of(~r/[\/\w_]/)
word_of(~r/[\/\w_-]/)
|> map(fn name -> [zname: name] end)
|> label("timezone name")
end
Expand Down

0 comments on commit 167df3b

Please sign in to comment.