jiffy icon indicating copy to clipboard operation
jiffy copied to clipboard

update locale( ) methods in jiffy.dart

Open ahmed-alhelali opened this issue 2 years ago • 0 comments

by default when changing the locale to "ar" the jiffy package will use the Arabic numbers ١,٢,٣ in the dates like this:

السبت، ١٩ أكتوبر ٢٠١٩ ٧:٢٧ م

so, in this collaboration I tried to add an option (this option called "enDigits") to use the English numbers (ASCII Digits) with whatever the locale is so, if we add this option when changing the locale to "ar" for example the result will be like this:

السبت، 19 أكتوبر 2019 7:27 م

ahmed-alhelali avatar May 14 '22 19:05 ahmed-alhelali