We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf82df commit 43d98f0Copy full SHA for 43d98f0
src/components/defaults.js
@@ -9,5 +9,5 @@ export const DEFAULT_MAX_SCENES_RENDERED = 1000
9
export const DEFAULT_MAP_CENTER = [30, 0]
10
export const DEFAULT_MAP_ZOOM = 3
11
// sets default date range (current minus 24hrs * 60min * 60sec * 1000ms per day * 14 days)
12
-const twoWeeksAgo = new Date(Date.now() - 24 * 60 * 60 * 1000 * 14)
13
-export const DEFAULT_DATE_RANGE = [twoWeeksAgo, new Date()]
+const twoWeeksFuture = new Date(Date.now() + 24 * 60 * 60 * 1000 * 14)
+export const DEFAULT_DATE_RANGE = [ new Date(), twoWeeksFuture]
0 commit comments