Pattern Match NaiveDateTime

Hi Folks,

Is there a way to pattern match or use guard clauses to match a NaiveDateTime?

Thx

%NaiveDateTime{} = naive

5 Likes

What a shame!!!.. :wink:

NaiveDateTime is just a struct, the ~N make me confusing.

Thank you!

1 Like