Skip to content

Conversation

@RoboticWater
Copy link
Collaborator

This should fix graphs going off the screen, and the time zones being based on local user time. Note that I've added moment-timezone to the package.json, so you'll need to npm i for this one.

" Reports" +
"</div><div>" +
d3.timeFormat("%b. %d %H:00")(d.date).replace(/\s0/g, " ") +
moment(d.data.date).tz("Asia/Yangon").format('MMM. Do hh:mm:ss') +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should have said this earlier but I think since the Myanmar project is over, do we still want to make this change? We can maybe just make this change on the Myanmar server and not aggie repo. Lmk if I am missing somthing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants