tanggalHari function

String tanggalHari(
  1. DateTime date,
  2. {bool shortMonth = false,
  3. bool shortDate = false}
)

Implementation

String tanggalHari(DateTime date,
    {bool shortMonth = false, bool shortDate = false}) {
  return "${_convertToLocalDay(date.weekday, shortMonth)} ${date.day} ${_convertToLocalMonth(date.month, shortMonth)} ${date.year}";
}