Skip to content

Commit

Permalink
fix(website): Persian formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Dec 29, 2024
1 parent e65d776 commit aa0cacb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/PersianFormatted.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ afterAll(() => jest.useRealTimers());

test("should render دی 1403", () => {
render(<PersianFormatted />);
expect(grid("دی 1403")).toBeInTheDocument();
expect(grid("دی ۱۴۰۳")).toBeInTheDocument();
});
2 changes: 1 addition & 1 deletion examples/PersianFormatted.tsx
Original file line number Diff line number Diff line change
@@ -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());
Expand Down

0 comments on commit aa0cacb

Please sign in to comment.