Skip to content

Commit

Permalink
UPDATED readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FatulM committed Aug 18, 2024
1 parent a4a4f4f commit 3b1708b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,16 @@ void main() {
print(format1(j1)); // prints: پنج شنبه 21 دی 91
print(format1(g1)); // prints: Thursday 10 January 13
// example one:
// for Afghani people:
String format1Af(Jalali d) {
final f = d.formatter;
return '${f.wN} ${f.d} ${f.mNAf} ${f.yy}';
}
print(format1Af(j1)); // prints: پنج شنبه 21 جدی 91
// example two:
String format2(Date d) {
final f = d.formatter;
Expand Down

0 comments on commit 3b1708b

Please sign in to comment.