Strict parsing is documented for the dayjs() constructor but not for the dayjs.tz() one. Is it possible to enable strict parsing for the dayjs.tz() constructor? If not, is there some way to do it?
Thanks!
Strict parsing is documented for the dayjs() constructor but not for the dayjs.tz() one. Is it possible to enable strict parsing for the dayjs.tz() constructor? If not, is there some way to do it?
Thanks!
According to the Converting to Zone docs, it looks like you can achieve this using the
dayjs().tz()instance method (instead of thedayjs.tz()constructor) by setting its second parameter to true.