Skip to main content
IntlThe Intl library is a collection of the formatting functions and utils to keep our content aligned throughout the app. All the supported content formats are available in MADS Intl Library. The formats here are in English, but they are all localized.
Date formats

date
MMM D, YYYY
e.g. Apr 1, 2019

dateCalendar
DDDD, MMM D
e.g. Monday, Apr 1

dateShort
MMM D
e.g. Apr 1

dateMonthDay
MMMM D
e.g. April 1

dateMonthYear
MMMM YYYY
e.g. April 2020

dateSlashed
M/D/YY
e.g. 9/28/2019

Abbreviations
Time Formats

time 12h
h:mm A
e.g. 4:00 PM

time 24h
hh:mm
e.g. 16:00

timeShort 12h
h A
e.g. 4 PM

timeShort 24h
hh:00
e.g. 16:00

12h / 24h logicTime formats that support both 12h and 24h clocks, will automatically display the relevant format to the user, according to the phones time format and the app language. For example: Phone’s format: 24h App language: French Displayed format: 10 nov à 16:30 Phone’s format: 12h App language: Japanese Displayed format: 11月10日 PM 4:30
Date & Time formats

dateTime 12h
DDD, MMMM D, h:mm A
e.g. Wed, April 1, 4:00 PM

dateTime 24h
DDD, MMMM D, hh:mm
e.g. Wed, April 1, 16:00

dateTimeShort 12h
MMM D, h:mm A
e.g. Nov 1, 4:00 PM

dateTimeShort 24h
MMM D, hh:mm
e.g. Nov 1, 16:00

dateTimeFull 12h
MMM DD, YYYY h:mm:ss A
e.g. Sep 4, 1986 4:30 PM

dateTimeFull 24h
MMM DD, YYYY hh:mm:ss
e.g. Sep 4, 1986 16:30

Timers

timerHMS
HH:mm:ss
e.g. 04:30:54

timerMS
mm:ss
e.g. 30:54

Timezone

timeZone
{timeZone} time (GMT {timeDifference})
e.g. New York time (GMT -05:00)