Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
qhwa authored and bitwalker committed Mar 8, 2020
1 parent 791fb89 commit 4a547b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
]
3 changes: 2 additions & 1 deletion lib/parse/datetime/parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ defmodule Timex.Parse.DateTime.Parser do
date
|> Timex.to_naive_datetime()
|> Timex.set(second: 0)
|> Timex.shift([minutes: 1])
|> Timex.shift(minutes: 1)

value ->
%{date | :second => value}
end
Expand Down

0 comments on commit 4a547b5

Please sign in to comment.