Skip to content

Commit

Permalink
fix: regression, unable to set timezone on registration
Browse files Browse the repository at this point in the history
  • Loading branch information
astappiev committed Jul 8, 2024
1 parent 2c4b7e8 commit f7b8638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/lw/user/register.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<h:inputHidden id="timeZone" value="#{registrationBean.timeZone}"/>
<h:outputScript>
try {
document.getElementById('timeZone').value = Intl.DateTimeFormat().resolvedOptions().timeZone;
document.getElementById('registration_form:timeZone').value = Intl.DateTimeFormat().resolvedOptions().timeZone;
} catch (e) {
console.log(e);
}
Expand Down

0 comments on commit f7b8638

Please sign in to comment.