Skip to content

Commit

Permalink
Use UTC+1 to display IRCGN phone number
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed May 29, 2024
1 parent 33984e1 commit 96c796e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/GuideContactExpert/ExpertSituation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function buildMailto (email: string) {
}
const currentPhone = computed(() => {
const currentHour = new Date().getHours()
const currentHour = new Date().getUTCHours() + 1
if (currentHour >= 8 && currentHour < 18) {
return IRCGN.fixe
} else {
Expand Down

0 comments on commit 96c796e

Please sign in to comment.