Skip to content

Commit 3b1708b

Browse files
committed
UPDATED readme
1 parent a4a4f4f commit 3b1708b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,16 @@ void main() {
514514
print(format1(j1)); // prints: پنج شنبه 21 دی 91
515515
print(format1(g1)); // prints: Thursday 10 January 13
516516
517-
// example one:
517+
// for Afghani people:
518+
String format1Af(Jalali d) {
519+
final f = d.formatter;
520+
521+
return '${f.wN} ${f.d} ${f.mNAf} ${f.yy}';
522+
}
523+
524+
print(format1Af(j1)); // prints: پنج شنبه 21 جدی 91
525+
526+
// example two:
518527
String format2(Date d) {
519528
final f = d.formatter;
520529

0 commit comments

Comments
 (0)