@rileybathurst/paddle 0.0.111 → 0.0.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ function Season({ name, season_start, season_end, opening_time, closing_time }:
|
|
|
25
25
|
const seasonStartDate = new Date(season_start);
|
|
26
26
|
const seasonEndDate = new Date(season_end);
|
|
27
27
|
|
|
28
|
-
if (currentDay
|
|
28
|
+
if (currentDay >= seasonStartDate && currentDay <= seasonEndDate) {
|
|
29
29
|
return (
|
|
30
30
|
<p>
|
|
31
31
|
{opening_time ? "Open Daily: " : null}<br />
|
|
@@ -42,9 +42,9 @@ function Season({ name, season_start, season_end, opening_time, closing_time }:
|
|
|
42
42
|
return (
|
|
43
43
|
<p>
|
|
44
44
|
We're closed for the season:<br />
|
|
45
|
-
We will reopen<br />
|
|
46
|
-
{season_start} - {season_end}<br />
|
|
47
|
-
Weather Permitting
|
|
45
|
+
{/* We will reopen<br /> */}
|
|
46
|
+
{/* {season_start} - {season_end}<br /> */}
|
|
47
|
+
{/* Weather Permitting */}
|
|
48
48
|
</p>
|
|
49
49
|
)
|
|
50
50
|
}
|