Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Dec 27, 2023
1 parent 5aedfce commit b5529d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import Config

config :acme_client,
directory_url:
System.get_env("ACME_CLIENT_DIRECTORY_URL") || "https://acme-staging-v02.api.letsencrypt.org/directory",
System.get_env("ACME_CLIENT_DIRECTORY_URL") ||
"https://acme-staging-v02.api.letsencrypt.org/directory",
account_key: System.get_env("ACME_CLIENT_ACCOUNT_KEY"),
account_kid: System.get_env("ACME_CLIENT_ACCOUNT_KID")

Expand Down
4 changes: 2 additions & 2 deletions lib/acme_client/crypto.ex
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ defmodule AcmeClient.Crypto do
end

defp utctime_to_iso8601(value) when is_binary(value) do
<<yy::binary-size(2), mo::binary-size(2), dd::binary-size(2), hh::binary-size(2), mm::binary-size(2),
ss::binary-size(2), "Z">> = value
<<yy::binary-size(2), mo::binary-size(2), dd::binary-size(2), hh::binary-size(2),
mm::binary-size(2), ss::binary-size(2), "Z">> = value

"20#{yy}-#{mo}-#{dd}T#{hh}:#{mm}:#{ss}Z"
end
Expand Down

0 comments on commit b5529d6

Please sign in to comment.