mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-20 03:32:09 +10:00
use date attribute for start date
This commit is contained in:
@ -54,7 +54,7 @@ const ProjectModal = () => {
|
|||||||
type="date"
|
type="date"
|
||||||
label={t('shared.forms.startDate')}
|
label={t('shared.forms.startDate')}
|
||||||
placeholder="6th August 208"
|
placeholder="6th August 208"
|
||||||
{...getFieldProps(formik, schema, 'startDate')}
|
{...getFieldProps(formik, schema, 'date')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Input
|
<Input
|
||||||
|
|||||||
@ -17,12 +17,12 @@ const ProjectItem = ({ item, language }) => {
|
|||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{(item.startDate || item.date) && (
|
{item.date && (
|
||||||
<h6 className="text-xs font-medium text-right">
|
<h6 className="text-xs font-medium text-right">
|
||||||
(
|
(
|
||||||
{formatDateRange(
|
{formatDateRange(
|
||||||
{
|
{
|
||||||
startDate: item.startDate? item.startDate : item.date,
|
startDate: item.date,
|
||||||
endDate: item.endDate,
|
endDate: item.endDate,
|
||||||
language,
|
language,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user