Skip to content

Commit

Permalink
Improve comment placement
Browse files Browse the repository at this point in the history
  • Loading branch information
bjuppa committed Aug 8, 2023
1 parent fd1d2a6 commit 81c8f4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,9 @@ const noon2023Feb3InSweden = createInstant("Europe/Stockholm")({
These examples combine existing plain-date and plain-time objects:

```ts
// Sweden is at UTC+1 in January
const jsDateInSweden = createInstant("Europe/Stockholm")({
...jan1,
...midday,
...midday, // Sweden is at UTC+1 in January
}); // 2023-01-01T11:00:00.000Z

const jsDateInSystemTz = createLocalInstant({
Expand Down

0 comments on commit 81c8f4d

Please sign in to comment.