Dates extension

on

Methods

isNewDate({int? days}) bool

Available on DateTime, provided by the Dates extension

This to check if datetime is new, and this check if datetime less than 7 or days parameter you passed.
showRecentTimeInArabic() String

Available on DateTime, provided by the Dates extension

This for showing time like : ٣٠ يوم , ١٠ دقائق