toFullDateTime method

String toFullDateTime({
  1. JBLocale? locale,
})

Format: 'dd MMM ''yy, hh:mma' → Example: '15 Feb '25, 10:30AM'

Implementation

String toFullDateTime({JBLocale? locale}) {
  return DateFormat("dd MMM ''yy, hh:mma", locale?.name ?? App.localeCode).format(toJBTimezone());
}