You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and result in hour(Hour, PAM) being equivalent to hour(Hour, []).
This affects the four clauses below (lines 173, 176, 184, 187), too. The only difference is that
in this case the first two clauses use the ?is_year(Year) guard and the latter two ?is_month(Month).
Note: I am not too familiar with Erlang and might be missing something.
The text was updated successfully, but these errors were encountered:
The parse clauses
and
in the file ec_date.erl (lines 155 to 178) seem to be equivalent, since they both match lists without a value for
PAM
.In the first case PAM is set to
[]
which would pass the?is_meridian(PAM)
guardand result in
hour(Hour, PAM)
being equivalent tohour(Hour, [])
.This affects the four clauses below (lines 173, 176, 184, 187), too. The only difference is that
in this case the first two clauses use the
?is_year(Year)
guard and the latter two?is_month(Month)
.Note: I am not too familiar with Erlang and might be missing something.
The text was updated successfully, but these errors were encountered: