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