diff --git a/src/documentation/08-localization/page.svx b/src/documentation/08-localization/page.svx index 82a9eb8..792c1c0 100644 --- a/src/documentation/08-localization/page.svx +++ b/src/documentation/08-localization/page.svx @@ -1,5 +1,5 @@ --- -title: Localization X +title: Localization --- \n\nFormatted date: {formatDate(new Date(), 'mm/dd/yyyy', en, 'standard')}\n
\nParsed date: { !console.log( parseDate('24.7.2023', 'j.n.Y', en, 'php') ) && 'Shown in console'}\n\n

\n ☝️ Notice the parsed date is always set to 00:00:00, but in local time. Therefore you can see difference\n between numbers in REPL and browser console.\n

"}]},{"title":"Modes & formats","slug":"formatting","files":[{"name":"App.svelte","type":"svelte","content":"\n\n\n
\n\t
\n\t\t

\n\t\t\tFormat === displayFormat
Internal value: {valueDefault}\n\t\t

\n\t\t\n\t
\n\t
\n\t\t

\n\t\t\tFormat !== displayFormat
Internal value: {valueDifferent}\n\t\t

\n\t\t\n\t
\n\t
\n\t\t

\n\t\t\tTime only format:
Internal value: {valueTimeOnly}\n\t\t

\n\t\t\n\t
\n
\n"}]},{"title":"Auto-commit changes","slug":"auto-commit","files":[{"name":"App.svelte","type":"svelte","content":"\n\n
\n\t
\n\t\tSettings\n\t\t
\n\t\t\n\t
\n\t
\n\t\tModes\n\t\t{#each modes as mode}\n\t\t\n\t\t{/each}\n\t
\n
\n\nSelected value: {value}
\n\n\n"}]},{"title":"Disabling dates","slug":"disabling-dates","files":[{"name":"App.svelte","type":"svelte","content":"\n\nRestricted selection list:
\n\n\n
\n\n\n\n\n\n"}]},{"title":"Slots","slug":"slots","files":[{"name":"App.svelte","type":"svelte","content":"\n\n \n e.target.nextElementSibling.focus()}>\n \n \n\t\n\t\n\t{#if !autocloseSupported || true}\n
\n {#if !autocloseSupported}\n \n \n \n \n {/if}\n {#if todayBtn || clearBtn}\n \n {#if todayBtn && currentMode === 'date'}{/if}\n {#if clearBtn}{/if}\n \n {/if}\n
\n {/if}\n\t
\n
"}]},{"title":"Events","slug":"events","files":[{"name":"App.svelte","type":"svelte","content":"\n\n\n
\n\t\n\t\n
\n\n\n\n\n"}]},{"title":"Theme","slug":"theme","files":[{"name":"App.svelte","type":"svelte","content":"\n\nThe picker's mode responds to website light/dark mode setting. \n\n\n"}]},{"title":"Localization X","slug":"localization","files":[{"name":"App.svelte","type":"svelte","content":"\n\n\n
\n\t
\n\t\t

My german picker

\n\t\t\n\t
\n\t
\n\t\t

Japanese override

\n\t\t\n\t
\n
\n\n"}]},{"title":"Global config","slug":"global-config","files":[{"name":"App.svelte","type":"svelte","content":"\n\n
\n\t
\n\t\t

My german picker (global)

\n\t\t\n\t
\n\t
\n\t\t

Japanese override

\n\t\t\n\t
\n
"}]}] \ No newline at end of file +export default [{"title":"Introduction","slug":"","files":[]},{"title":"Properties","slug":"properties","files":[]},{"title":"Working with dates","slug":"principles","files":[{"name":"App.svelte","type":"svelte","content":"\n\nFormatted date: {formatDate(new Date(), 'mm/dd/yyyy', en, 'standard')}\n
\nParsed date: { !console.log( parseDate('24.7.2023', 'j.n.Y', en, 'php') ) && 'Shown in console'}\n\n

\n ☝️ Notice the parsed date is always set to 00:00:00, but in local time. Therefore you can see difference\n between numbers in REPL and browser console.\n

\n"}]},{"title":"Modes & formats","slug":"formatting","files":[{"name":"App.svelte","type":"svelte","content":"\n\n\n
\n\t
\n\t\t

\n\t\t\tFormat === displayFormat
Internal value: {valueDefault}\n\t\t

\n\t\t\n\t
\n\t
\n\t\t

\n\t\t\tFormat !== displayFormat
Internal value: {valueDifferent}\n\t\t

\n\t\t\n\t
\n\t
\n\t\t

\n\t\t\tTime only format:
Internal value: {valueTimeOnly}\n\t\t

\n\t\t\n\t
\n
\n"}]},{"title":"Auto-commit changes","slug":"auto-commit","files":[{"name":"App.svelte","type":"svelte","content":"\n\n
\n\t
\n\t\tSettings\n\t\t
\n\t\t\n\t
\n\t
\n\t\tModes\n\t\t{#each modes as mode}\n\t\t\n\t\t{/each}\n\t
\n
\n\nSelected value: {value}
\n\n\n\n"}]},{"title":"Disabling dates","slug":"disabling-dates","files":[{"name":"App.svelte","type":"svelte","content":"\n\nRestricted selection list:
\n\n\n
\n\n\n\n\n\n\n"}]},{"title":"Slots","slug":"slots","files":[{"name":"App.svelte","type":"svelte","content":"\n\n \n e.target.nextElementSibling.focus()}>\n \n\n\t\n\t\n\t{#if !autocloseSupported || true}\n
\n {#if !autocloseSupported}\n \n \n \n \n {/if}\n {#if todayBtn || clearBtn}\n \n {#if todayBtn && currentMode === 'date'}{/if}\n {#if clearBtn}{/if}\n \n {/if}\n
\n {/if}\n\t
\n
\n"}]},{"title":"Events","slug":"events","files":[{"name":"App.svelte","type":"svelte","content":"\n\n\n
\n\t\n\t\n
\n\n\n\n\n"}]},{"title":"Theme","slug":"theme","files":[{"name":"App.svelte","type":"svelte","content":"\n\nThe picker's mode responds to website light/dark mode setting.\n\n\n\n"}]},{"title":"Localization","slug":"localization","files":[{"name":"App.svelte","type":"svelte","content":"\n\n\n
\n\t
\n\t\t

My german picker

\n\t\t\n\t
\n\t
\n\t\t

Japanese override

\n\t\t\n\t
\n
\n\n\n"}]},{"title":"Global config","slug":"global-config","files":[{"name":"App.svelte","type":"svelte","content":"\n\n
\n\t
\n\t\t

My german picker (global)

\n\t\t\n\t
\n\t
\n\t\t

Japanese override

\n\t\t\n\t
\n
\n"}]}] \ No newline at end of file