Pattern Match NaiveDateTime

Hi Folks,

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

Thx

1 Like

%NaiveDateTime{} = naive

7 Likes

What a shame!!!.. :wink:

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

Thank you!

2 Likes