LocalizedDateTime extension
Extension on DateTime class to shorten the process of localizing formatted DateTimes.
- on
Methods
-
formatAsLocalizedDate(
BuildContext context) → String - Formats the DateTime to a localized and human-readible string.
-
formatAsLocalizedDateWithWeekday(
BuildContext context) → String - Formats the DateTime to a localized and human-readible string.