Skip to content

Commit

Permalink
todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin67 committed Nov 7, 2023
1 parent 3fb6c05 commit 3aa7fb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/inngest/function.ex
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ defmodule Inngest.Function do
end
end

# TODO:
# def validate_datetime(%Date{} = date), do: nil

def validate_datetime(%DateTime{} = datetime),
do: Timex.format(datetime, "{YYYY}-{0M}-{0D}T{h24}:{m}:{s}Z")

Expand Down

0 comments on commit 3aa7fb7

Please sign in to comment.