Skip to content

Commit 8e175e1

Browse files
committed
Fix previous commit.
1 parent 7aeee33 commit 8e175e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lorawan_admin.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ parse_admin(List) ->
7474
({Key, Value}) when Key == rxq -> {Key, ?to_record(rxq, parse_admin(Value))};
7575
({Key, Value}) when Key == txdata -> {Key, ?to_record(txdata, parse_admin(Value))};
7676
({Key, Value}) when Key == last_join; Key == last_rx; Key == devstat_time;
77-
Key == time; Key == datetime -> {Key, iso8601:parse_exact(Value)};
77+
Key == datetime -> {Key, iso8601:parse(Value)};
78+
({Key, Value}) when Key == time -> {Key, iso8601:parse_exact(Value)};
7879
({Key, Value}) when Key == devstat -> {Key, parse_devstat(Value)};
7980
(Else) -> Else
8081
end,

0 commit comments

Comments
 (0)