Profile - GMT time is not displayed
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expected Result:
GMT time is displayed as GMT -3Actual Result:
"GMT" is not displayed, only the time and "-03" is visible.Action Performed:
- Log in as account A
- Set the time zone of the account to America/Sao_Paulo
- Log out of account A
- Log in as another account and check account A's profile.
Attachments/Notes
Found while executing https://github.com/Expensify/Expensify.cash/pull/1717Device and OS: Huawei P20 Pro / 10.0
Is the issue reproducible in Prod: Yes
Build version: 1.0.6-1
Hi,
This is Kaushik here and this is my technical explanation for this issue.
- This is a time format issue it will be managed by moment js.
Triggered auto assignment to @muttmuure (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Triggered auto assignment to @stitesExpensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
I think I missed this because it's in the .cash repo.
@stitesExpensify when you're happy with the review we'll need to create an External issue in E/E https://expensify.slack.com/archives/C01SKUP7QR0/p1617220984062300?thread_ts=1617218921.052600&cid=C01SKUP7QR0
@kaushiktd 's solution sounds fine to me, I think we can move forward with making the external issue
Hello, @isagoico . How are you?
I've already solved your issue.
It was due to the moment().tz function doesn't provide the GMT xx style (only xx style as like today)
So I've customized some features simply and fixed the issue perfectly.
Looking forward to hearing from you soon. Thanks.
Moved this issue to E/E so the solution can be managed through Upwork
@muttmuure per Stites' comment, can you get this on Upwork and keep the ball moving? Bumped to daily.
@isagoico Still exist this issue? I am looking forward to discussing this issue.
Hey @mallenexpensify I can't seem to post the job, is this because I'm missing some privileges in Upwork?
It's currently a draft under 'React Native - GMT time is not displayed correctly #2097'
I'm not in the contributor-management team, so maybe that's why?
phew, posted
External Upwork post: https://www.upwork.com/jobs/~011019e1dd3c19946a Internal Upwork post: https://www.upwork.com/ab/applicants/1389982427044622336/job-details
Triggered auto assignment to @Christinadobrzyn (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Alright, @kaushiktd has been hired for this job! 🎉
Here, it is fixed. https://drive.google.com/file/d/1C7tjEB2PXyFrSEP0PXsxHVxMesYObSsS/view?usp=sharing
Hi @kaushiktd can you create a pull request and link it to this issue please?
Pull request or push the code?
Step 7-9 here https://github.com/Expensify/Expensify.cash/blob/main/CONTRIBUTING.md#working-on-expensifycash-jobs
I have never done something like that with Git and in the past once I tried which resulted in clearing up full Git repo. I m trying to follow the exact steps but it is throwing me an error in my Mac. Any guidance will be appreciated.

Issue reproducible during today's KI retests