Skip to content
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

[Heatmap] Adjusting grid calcualtion for consistent grid layout #1

Merged

Conversation

Alchez
Copy link

@Alchez Alchez commented Feb 16, 2022

Pulling the PR made at frappe#161.


GMT +05:30

image

GMT -05:00

image

kimili and others added 15 commits April 22, 2018 00:41
Date math is hard!

This addresses a problem in how the heatmap lays calculates days to lay out the grid. The calculations were being thrown off in some scenarios by a combination of factors including timezone offsets, time of day, and daylight savings time.

This patch should correct all this by forcing each day to be midnight UTC when laying out the grid.
Date math is hard!

This addresses a problem in how the heatmap lays calculates days to lay out the grid. The calculations were being thrown off in some scenarios by a combination of factors including timezone offsets, time of day, and daylight savings time.

This patch should correct all this by forcing each day to be midnight UTC when laying out the grid.
# Conflicts:
#	dist/frappe-charts.min.cjs.js
#	dist/frappe-charts.min.cjs.js.map
#	dist/frappe-charts.min.esm.js
#	dist/frappe-charts.min.esm.js.map
#	dist/frappe-charts.min.iife.js
#	dist/frappe-charts.min.iife.js.map
#	docs/assets/js/frappe-charts.min.js
#	docs/assets/js/frappe-charts.min.js.map
#	docs/assets/js/index.min.js
#	docs/assets/js/index.min.js.map
#	package-lock.json
@Alchez Alchez requested a review from vjFaLk February 16, 2022 11:11
@commit-lint
Copy link

commit-lint bot commented Feb 16, 2022

Bug Fixes

Contributors

kimili, t47io, Alchez

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@Alchez Alchez force-pushed the feature/heatmap-customize-month-names branch 5 times, most recently from 9eae3f9 to 05af47c Compare February 16, 2022 11:47
@Alchez Alchez force-pushed the feature/heatmap-customize-month-names branch 7 times, most recently from 71a3329 to df8b8d8 Compare February 17, 2022 12:52
@Alchez Alchez force-pushed the feature/heatmap-customize-month-names branch from df8b8d8 to 2e31f5e Compare February 17, 2022 12:58
@Alchez
Copy link
Author

Alchez commented Feb 17, 2022

Made upstream to master.

@vjFaLk vjFaLk merged commit 9678ee3 into ParsimonyGit:master Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants