naturalDay function

String naturalDay(
  1. DateTime value
)

For date values that are tomorrow, today or yesterday compared to present day return representing string. Otherwise, return a string formatted according to settings.DATE_FORMAT.

Implementation

String naturalDay(DateTime value) {
  return "";
}