-
Notifications
You must be signed in to change notification settings - Fork 114
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
Fix 'today' in the datepicker #668
Conversation
This involved two fixes: - recreating the config on resume so that the end date is reset (`list.js`), and - setting "today" to the correct date when the datepicker is opened (`ionic-datepicker.bundle.min.js`) I have also added build instructions to my fork of the ionic-datepicker repo, but in case I delete the fork later, the instructions are: Install node 10.19.0 ([gulp-sass will fail for more recent version of node](nodejs/node-gyp#1763)) ``` node -v v10.19.0 ``` Install and check gulp version ``` npm install npm list | grep gulp ├─┬ [email protected] ``` Build ``` npx gulp build ``` Testing done: Followed the steps in e-mission/e-mission-docs#531 (comment) Both end date and today are updated correctly
@asiripanich can you please review this? I will then merge and deploy. Please test so that I can merge to master. |
sure! |
@asiripanich is that a review? |
@asiripanich by review, I mean look at the code. I already tested it (see the "testing done" in the commit). An external code review is almost always a good idea. |
Looks good to me. |
Could you please rebase and merge this pr? |
why do I need to rebase? It is already to rciti1... |
Ahh sorry my bad.. |
Tried the testing steps on my device and can report that the issue no longer exists. |
This involved two fixes:
list.js
), and(
ionic-datepicker.bundle.min.js
)I have also added build instructions to my fork of the ionic-datepicker repo,
but in case I delete the fork later, the instructions are:
Install node 10.19.0 (gulp-sass will fail for more recent version of node)
Install and check gulp version
Build
Testing done:
Followed the steps in e-mission/e-mission-docs#531 (comment)
Both end date and today are updated correctly