diff --git a/examples/PersianFormatted.test.tsx b/examples/PersianFormatted.test.tsx index f956e4e9a..3bd023c71 100644 --- a/examples/PersianFormatted.test.tsx +++ b/examples/PersianFormatted.test.tsx @@ -12,5 +12,5 @@ afterAll(() => jest.useRealTimers()); test("should render دی 1403", () => { render(); - expect(grid("دی 1403")).toBeInTheDocument(); + expect(grid("دی ۱۴۰۳")).toBeInTheDocument(); }); diff --git a/examples/PersianFormatted.tsx b/examples/PersianFormatted.tsx index ddc211618..8f9298d43 100644 --- a/examples/PersianFormatted.tsx +++ b/examples/PersianFormatted.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { DayPicker, enUS, faIR, getDateLib } from "react-day-picker/persian"; +import { DayPicker, faIR, getDateLib } from "react-day-picker/persian"; export function PersianFormatted() { const [selected, setSelected] = React.useState(new Date());