Skip to content

Commit

Permalink
Fix the typo in README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfathi91 committed Dec 25, 2021
1 parent d19d2f5 commit 71bbccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ PersianDateTime persianDateTime2 = PersianDateTime.of(PersianDate.of(1400, Persi
PersianDateTime persianDateTime3 = PersianDateTime.of(1400, PersianMonth.DEY, 15, 17, 55, 19);

// Parse
PersianDateTime persianDateTime4 = PersianDate.parse("1401-06-10T08:35:11"); // From the standard format
PersianDateTime persianDateTime5 = PersianDate.parse("1400-06-15_11-38-43", DateTimeFormatter.ofPattern("yyyy-MM-dd_HH-mm-ss")); // From a desired format
PersianDateTime persianDateTime4 = PersianDateTime.parse("1401-06-10T08:35:11"); // From the standard format
PersianDateTime persianDateTime5 = PersianDateTime.parse("1400-06-15_11-38-43", DateTimeFormatter.ofPattern("yyyy-MM-dd_HH-mm-ss")); // From a desired format

// Format
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm:ss");
Expand Down

0 comments on commit 71bbccb

Please sign in to comment.