Describe the bug
According to the typescript definition, this is valid:
val now = dayjs()
val nextQuarter = now.add(1, 'quarter')
now.valueOf() == nextQuarter.valueOf() // true
Expected behavior
Either the quarter calculation should work or the typescript definition should not allow passing 'quarter' as unit of time.
Information
Describe the bug
According to the typescript definition, this is valid:
Expected behavior
Either the quarter calculation should work or the typescript definition should not allow passing
'quarter'as unit of time.Information