auth_text_dateFormat method

String auth_text_dateFormat(
  1. Object format
)

{format, select, eu{EU (dd/MM/yyyy)} us{US (MM/dd/yyyy)} swiss{Swiss (dd.mm.yyy)} other{invalid}}

Implementation

String auth_text_dateFormat(Object format) {
  return Intl.select(
    format,
    {
      'eu': 'EU (dd/MM/yyyy)',
      'us': 'US (MM/dd/yyyy)',
      'swiss': 'Swiss (dd.mm.yyy)',
      'other': 'invalid',
    },
    name: 'auth_text_dateFormat',
    desc: '',
    args: [format],
  );
}