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

Add weeks not working #53

Closed
miladd3 opened this issue Sep 3, 2018 · 1 comment
Closed

Add weeks not working #53

miladd3 opened this issue Sep 3, 2018 · 1 comment

Comments

@miladd3
Copy link

miladd3 commented Sep 3, 2018

when i try to add weeks to date it wont work

        let date = new persianDate();
        console.log(date.format('DD/MM/YY'));
        let dateAdded = date.add('weeks',1);
        console.log(dateAdded.format('DD/MM/YY'));

output

۱۲/۰۶/۹۷
۱۲/۰۶/۹۷
@babakhani babakhani self-assigned this Feb 19, 2019
@babakhani babakhani added the bug label Feb 19, 2019
mort3za added a commit to mort3za/PersianDate that referenced this issue Mar 22, 2019
mort3za added a commit to mort3za/PersianDate that referenced this issue Mar 22, 2019
mort3za added a commit to mort3za/PersianDate that referenced this issue Mar 22, 2019
mort3za added a commit to mort3za/PersianDate that referenced this issue Mar 22, 2019
@babakhani
Copy link
Owner

@miladd3
you can test the new RC version.
npm install persian-date@next

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

Successfully merging a pull request may close this issue.

2 participants