-
+
+
+
-
diff --git a/src/lib/ad-picker/DatePicker.svelte b/src/lib/ad-picker/DatePicker.svelte
index e39e9f1..95954b1 100644
--- a/src/lib/ad-picker/DatePicker.svelte
+++ b/src/lib/ad-picker/DatePicker.svelte
@@ -14,10 +14,10 @@
let selectedDate: string;
-
-
+
{new Date(selectedYear, selectedMonth - 1, 1).toLocaleString('en-ca', {
month: 'long',
year: 'numeric'
@@ -127,12 +127,12 @@
-
-
+
{day}
|
@@ -145,7 +145,7 @@
{#if isValidDate(value)}
{#each col as i}
-
+
{#if i > 0 && i <= currentNumberOfDays}
{#if i === selectedDay && selectedMonth == new Date(value).getMonth() + 1}
{:else}
- + {/if} {:else} - +
|
---|
+
+
{#if !hidelabel}
-
+
{/if}
{
@@ -26,10 +26,16 @@
on:click={() => {
isOpenCalendar = !isOpenCalendar;
}}
- class="date-select-box"
+ class="ut--date-select-box"
>
-
-