Update version to 0.9.0, add DateRangeDropdown component, enhance LodgingModal with price step, and add invalid date range message
This commit is contained in:
13
frontend/src/routes/datetest/+page.svelte
Normal file
13
frontend/src/routes/datetest/+page.svelte
Normal file
@@ -0,0 +1,13 @@
|
||||
<script>
|
||||
import DateRangeDropdown from '$lib/components/DateRangeDropdown.svelte';
|
||||
|
||||
let utcStartDate = '';
|
||||
let utcEndDate = '';
|
||||
</script>
|
||||
|
||||
<DateRangeDropdown bind:utcStartDate bind:utcEndDate />
|
||||
|
||||
<p>{new Date(utcStartDate).toLocaleString()} - {new Date(utcEndDate).toLocaleString()}</p>
|
||||
|
||||
<p>UTC Start Date: {utcStartDate}</p>
|
||||
<p>UTC End Date: {utcEndDate}</p>
|
||||
Reference in New Issue
Block a user