-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-09-29] [$2000] Web - user not able to save last enable date of birth #24266
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Bug0 Triage Checklist (Main S/O)
|
I wasn't able to reproduce, Not sure if this is account specific. Since its potential blocker, please double check |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Gonals ( |
Try with new user if not able to reproduce |
ProposalPlease re-state the problem that we are trying to solve in this issue.Selecting last enabled date of birth shows error What is the root cause of that problem?We recently updated to const currentDate = startOfDay(new Date()); so currentDate here starts at 00:00 GMT and const testDate = new Date(date); so it gives an error What changes do you think we should make in order to solve the problem?We should change this to const currentDate =new Date(); What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - user not able to save last enable date of birth What is the root cause of that problem?This code block gets triggered App/src/libs/ValidationUtils.js Lines 227 to 229 in dd21a0b
What changes do you think we should make in order to solve the problem?We can change maxDate to this in DateOfBirthPage or We can fix it directly in getAgeRequirementError By changing recentDate
or we can use date-fns to set maxDate to one day before so we don't have same day error. What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Not able to select the max date for non UTC timezone users What is the root cause of that problem?Here we have the difference in time which causes this condition App/src/libs/ValidationUtils.js Line 224 in dd21a0b
What changes do you think we should make in order to solve the problem?We need to add
App/src/libs/ValidationUtils.js Line 220 in dd21a0b
|
I can't reproduce either - asking for more guidance in the Slack thread - https://expensify.slack.com/archives/C049HHMV9SM/p1691509966704559?thread_ts=1691498421.013379&cid=C049HHMV9SM |
I don't think this needs to be a deploy blocker as it only affects users who are exactly 5 years old. Removing the label. |
@Christinadobrzyn It can be reproducible for the |
For Mac these are the steps to update timezone and set any GMT+ city.
Screen.Recording.2023-08-09.at.5.13.33.PM.mp4 |
📣 @0xmiroslav 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@0xmiroslav The PR is ready for review! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.72-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-09-29. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@0xmiroslav is there a regression for this? Let me know and I'll pay this out Payouts will be: Issue Reporter: $250 @gadhiyamanan (old pricing) Eligible for 50% #urgency bonus? Y - #24266 (comment) Upwork job is here. |
No need regression test. |
@gadhiyamanan it looks like you might need to accept the offer - https://www.upwork.com/jobs/~011fd6c960bd909251 |
@Christinadobrzyn here's discussion about my payment - https://expensify.slack.com/archives/C01SKUP7QR0/p1692226249296529?thread_ts=1691559426.466079&cid=C01SKUP7QR0 |
@Christinadobrzyn offer accepted, thanks! |
All done here? |
Sorry for the delay here - @gadhiyamanan I've paid you in Upwork based on this payment structure. @0xmiroslav thanks for the Slack link it sounds like your Upwork account has been restored and we're paying you directly. What is the Upwork link for your restored account so I can pay you through Upwork for this? Thanks! |
@Christinadobrzyn please hold my payment yet and just close the issue. I am tracking myself and will ping here once ready. |
Okay sounds good! Closing for now @0xmiroslav please let me know if you need any help with payment in the future. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Set the Date & Time on your Mac to
India Standard Time
a. On Mac > System Settings > General > Date & Time
b. Enable "set time and date automatically" & Disable "Set time zone automatically using your current location"
c. Choose New Delhi - India as your "Closest City"
d. Disable "set time and date automatically"
Sign into https://staging.new.expensify.com/settings on the Chrome browser
Click the Profile icon (settings) > Profile > Personal details > Date of birth
Select the most recent available date
Notice date error
Expected Result:
user should able to save enable date
Actual Result:
error appears on select latest enable date
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.53-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-08-08.at.6.09.45.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan & @Pujan92
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691498421013379
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: