Skip to content

Commit

Permalink
Fixed timestamp locale not being read properly. Fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
izzy committed Apr 20, 2022
1 parent e9c1d88 commit 56630f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@
timestamp = is_true(url.searchParams.get("timestamp"));
}

if (url.searchParams.get("timestamp-locale") !== null) {
timestamp_locale = url.searchParams.get("timestamp-locale");
if (url.searchParams.get("timestamp_locale") !== null) {
timestamp_locale = url.searchParams.get("timestamp_locale");
}

return {
Expand Down

0 comments on commit 56630f3

Please sign in to comment.