Skip to content

Commit 76095a0

Browse files
bkeepersCopilot
andauthored
Update examples/units.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 82a7708 commit 76095a0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

examples/units.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import { getExtremesPrediction } from 'neaps'
22

3+
const start = new Date()
4+
const end = new Date(start.getTime() + 24 * 60 * 60 * 1000)
5+
36
const options = {
47
latitude: 22.24,
58
longitude: -75.75,
6-
start: new Date('2026-01-06T00:00:00Z'),
7-
end: new Date('2026-01-07T00:00:00Z')
9+
start,
10+
end
811
}
912

1013
const inMeters = getExtremesPrediction(options)

0 commit comments

Comments
 (0)