FriendlyDateTimeFormatter constructor
FriendlyDateTimeFormatter(
- DateTime now
Implementation
FriendlyDateTimeFormatter(DateTime now):
// In order for formatting logic to be accurate, must not consider hours/minutes component of date.
_now = new DateTime(now.year, now.month, now.day);