Permalink
Browse files

Correctly handle the 'Z' type offset.

  • Loading branch information...
1 parent dcd80ba commit 2d87843b3bdea13eb51116513764045646eea426 @jlouis committed Oct 20, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/inet_time.erl
View
@@ -63,6 +63,7 @@ valid_time_offset(Time, Offset) ->
{error, Reason} -> {error, Reason}
end.
+valid_offset('Z') -> ok;
valid_offset({_, H, M}) when
0 =< H,
H =< 23,

0 comments on commit 2d87843

Please sign in to comment.