Skip to content

Error: Invalid Jalali year -100721 on NextJS #12

@nafasebra

Description

@nafasebra

I got this error when app is mounted

Capture

and this is my component:

<Datepicker 
  input={
    <Field
      label="تاریخ رفت"
      id="date"
      name="date"
    />
  } 
  modeTheme={'light'}
  theme={'blue'}
  closeWhenSelectADay={true} // boolean
  defaultValue={moment()}
  value={dateInput}
  onChange={(val) => setDateInput(val)}
/>

Are you have any suggestion for solve the problem? what i to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions