Same date returns for last or first weekday of a given month
CodeSnooker opened this issue · comments
For example,
Use
Date.create('first Thursday of next month')
or
Date.create('last Thursday of next month')
Both of them returns same date. As of now it returns 'Thu Jul 04 2019 23:59:59 GMT+0530 (India Standard Time)'
Expected result
last Thursday of next month should returns 'Thu Jul 25 2019 23:59:59 GMT +0530 (India Standard Time)'
Thanks for letting me know about this! I'll have a look.