Skip to content

Commit

Permalink
2024.10: fix timezone snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ljharb committed Sep 9, 2024
1 parent 98d92c5 commit beb5820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2024/10.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ gantt
For meeting times in your timezone, visit [Temporal docs](https://tc39.es/proposal-temporal/docs/) and run the code below in the devtools console.

```js
Temporal.ZonedDateTime.from('2024-10-08:00[Asia/Tokyo]')
Temporal.ZonedDateTime.from('2024-10-08T10:00[Asia/Tokyo]')
.withTimeZone(Temporal.Now.timeZoneId()) // your time zone
.toLocaleString()
```
Expand Down

0 comments on commit beb5820

Please sign in to comment.