mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 04:21:55 +00:00
docs: fix Vue code samples' usage of formatReadableDate
This commit is contained in:
@@ -47,7 +47,7 @@ function dateSuffix(dayNumber) {
|
|||||||
|
|
||||||
const props = defineProps(["inputDate"]);
|
const props = defineProps(["inputDate"]);
|
||||||
const dateStr = ref(formatDate(props.inputDate));
|
const dateStr = ref(formatDate(props.inputDate));
|
||||||
const labelText = ref(formatDate(props.inputDate));
|
const labelText = ref(formatReadableDate(props.inputDate));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function dateSuffix(dayNumber) {
|
|||||||
|
|
||||||
const props = defineProps(["inputDate"]);
|
const props = defineProps(["inputDate"]);
|
||||||
const dateStr = ref(formatDate(props.inputDate));
|
const dateStr = ref(formatDate(props.inputDate));
|
||||||
const labelText = ref(formatDate(props.inputDate));
|
const labelText = ref(formatReadableDate(props.inputDate));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function dateSuffix(dayNumber) {
|
|||||||
|
|
||||||
const props = defineProps(["inputDate"]);
|
const props = defineProps(["inputDate"]);
|
||||||
const dateStr = ref(formatDate(props.inputDate));
|
const dateStr = ref(formatDate(props.inputDate));
|
||||||
const labelText = ref(formatDate(props.inputDate));
|
const labelText = ref(formatReadableDate(props.inputDate));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function dateSuffix(dayNumber) {
|
|||||||
|
|
||||||
const props = defineProps(["inputDate"]);
|
const props = defineProps(["inputDate"]);
|
||||||
const dateStr = ref(formatDate(props.inputDate));
|
const dateStr = ref(formatDate(props.inputDate));
|
||||||
const labelText = ref(formatDate(props.inputDate));
|
const labelText = ref(formatReadableDate(props.inputDate));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function dateSuffix(dayNumber) {
|
|||||||
|
|
||||||
const props = defineProps(["inputDate"]);
|
const props = defineProps(["inputDate"]);
|
||||||
const dateStr = ref(formatDate(props.inputDate));
|
const dateStr = ref(formatDate(props.inputDate));
|
||||||
const labelText = ref(formatDate(props.inputDate));
|
const labelText = ref(formatReadableDate(props.inputDate));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function dateSuffix(dayNumber) {
|
|||||||
|
|
||||||
const props = defineProps(["inputDate"]);
|
const props = defineProps(["inputDate"]);
|
||||||
const dateStr = ref(formatDate(props.inputDate));
|
const dateStr = ref(formatDate(props.inputDate));
|
||||||
const labelText = ref(formatDate(props.inputDate));
|
const labelText = ref(formatReadableDate(props.inputDate));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function dateSuffix(dayNumber) {
|
|||||||
|
|
||||||
const props = defineProps(["inputDate"]);
|
const props = defineProps(["inputDate"]);
|
||||||
const dateStr = ref(formatDate(props.inputDate));
|
const dateStr = ref(formatDate(props.inputDate));
|
||||||
const labelText = ref(formatDate(props.inputDate));
|
const labelText = ref(formatReadableDate(props.inputDate));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
Reference in New Issue
Block a user