Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same date returns for last or first weekday of a given month #652

Open
CodeSnooker opened this issue Jun 21, 2019 · 1 comment
Open

Same date returns for last or first weekday of a given month #652

CodeSnooker opened this issue Jun 21, 2019 · 1 comment

Comments

@CodeSnooker
Copy link

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)'

@andrewplummer
Copy link
Owner

Thanks for letting me know about this! I'll have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants