Skip to content

Commit

Permalink
FIXED doc
Browse files Browse the repository at this point in the history
  • Loading branch information
FatulM committed Feb 10, 2019
1 parent 1c299ee commit 359c53c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ And use it like before.
- d: day (whatever length it has)
- dd: two digit day
- wN: week day name

You can get Date formatter by using `formatter` getter on Jalali and Gregorian date objects.
Simply cash this formatter in a final value and then use string interpolation (as we have shown in examples) for making your desired output.
This way of formatting is more powerful (and arguably easier) than using templates.
Expand Down

0 comments on commit 359c53c

Please sign in to comment.