Skip to content

Commit

Permalink
Fixing the bugfix. See #3.
Browse files Browse the repository at this point in the history
  • Loading branch information
sagotch committed Mar 4, 2015
1 parent ff04c0b commit 50cee2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ISO8601.ml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ module Permissive = struct

(* Be careful, do not forget to print timezone if there is one,
* or information printed will be wrong. *)
let local_offset = fst (Unix.mktime (Unix.gmtime 0.)) in
let x = gmtime (x -. tz -. local_offset) in
let x = gmtime (x -. tz) in

let conversion =
let pad2 = fprintf fmt "%02d" in
Expand Down

0 comments on commit 50cee2f

Please sign in to comment.