feat: Add Eastern and Eastern Pacific time zones #16880#16974
feat: Add Eastern and Eastern Pacific time zones #16880#16974emrysal merged 8 commits intocalcom:mainfrom
Conversation
|
@ShreyTanna29 is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
|
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details: |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (10/07/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (10/07/24)1 label was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (10/10/24)1 label was added to this PR based on Keith Williams's automation. |
|
Hey @ShreyTanna29 Thanks for contributing, can you please sign CLA. |
Hello, I have already signed the CLA, please check again. |
|
getTimezone should return the appropriate time zones for a given city name. @ShreyTanna29 could you please check this? |
Also, test |
@Praashh This was due to matching the " timezones recieved in addCitiesToDropDown" with the inlineSnapshot provided in getTimezone.test.ts, which was throwing error whenever a new timezone appeared, so I added new timezones in the snapshot , please check the latest commits, this issue is now solved. please let me know if any changes are neede further. |
I checked 'PR Update / Tests / Unit (pull_request_target)` I couldn't find any issues over there. Please refer the attached screen shots, Please provide more details on it. |
yes, it was there and after fixing the timezones issue, it also got fixed. |
E2E results are ready! |
Hey @ShreyTanna29, don't worry about those tests, please make changes I suggested to maintain good practices and directory structure so I can approve it, although your code is working fine. |
thank you ,and please guide me if you think that anything in this code can be improved , also I have followed and applied your previous suggestions and would love to change further anything required in this code. |
Hey! I have already suggested you, please add those changes. |
|
@Praashh I have applied those suggestions, you asked to check "getTimezone should return the appropriate time zones for a given city name.", I have resolved this and you also asked to check this "PR Update / Tests / Unit (pull_request_target) " which is also resolved. please check the pr commits. |
sorry but what directory structure and good practices did you suggested, cause I am not able to see any comment regarding that. |
please check this, https://github.com/calcom/cal.com/pull/16974/files/f5ece1f4dabaf68df5c44a6d8245ca6b7bb8f3f9#diff-22aa63d18fd13b882f1abed60dae3b1560e2b517602e8a6a0babad035a77fe58 |
sorry but i cant see any changes requested on the files , no conversation on the file page, no comments on the file, no inline comments or no commits from your side, have I missed any section to look for your suggestions, exactly where have you posted your suggestions on the file page, please guide me. |
|
@PeerRich @ShreyTanna29 - I'll add a test to cover this in the follow up PR to fix |
I have solved the issue, please check Pull request #17064 , this was due to my mistake, I had by mistake added timezones as cities in the dropdown, I have fixed this everywhere, also I have improved naming of my new timezones in additionalTimezones.json, I have followed the cal.com prewritten naming convections, e.g. instead of identifier I named it as city, ect. Sorry for the mistake. Please check it out and let me know if any improvements needs to be done further. @PeerRich @emrysal |






What does this PR do?
Added Eastern Time - US Canada, Pacific Time , etc
In total 15 time zones are added.
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
visit any page which has time zones options in it and you can see time zones like Eastern Time - US Canada, Central TIme, Mountain Time, Indian Standard TIme, etc.