Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 433 Bytes

File metadata and controls

16 lines (11 loc) · 433 Bytes
id string
title String

Parse the given string in ISO 8601 format (a space instead of the 'T' is allowed) and return a Day.js object instance.

dayjs('2018-04-04T16:00:00.000Z')
dayjs('2018-04-13 19:18:17.040+02:00')
dayjs('2018-04-13 19:18')

For consistent results parsing anything other than ISO 8601 strings, you should use String + Format.