GithubHelp home page GithubHelp logo

Comments (8)

momibun926 avatar momibun926 commented on August 14, 2024

hi,
Thank you for reporting.
It probably has to do with the time of the completion date.
In redmine, the completion date is managed by datetime
It's possible that the timezone correction is wrong.
I'll look into it over the weekend.

Could you tell me what kind of database and timezone of your redmine.

from redmine_issue_evm.

soladev avatar soladev commented on August 14, 2024

I'm using MySQL and Redmine is using the timezone Etc/UTC

from redmine_issue_evm.

soladev avatar soladev commented on August 14, 2024

I've read the code and I think I've found out where this go wrong. I'm not used to Ruby so I may have misread some lines, but from my understanding : an issue "1" can't appears at two points on the charts, meaning that when an progress get overwritten on day D+1, the progress set on day D doesn't appear anymore on the chart.

Doesn't seems easy to fix though...

from redmine_issue_evm.

momibun926 avatar momibun926 commented on August 14, 2024

Hi, @soladev
Thanks for the reply.
Yes, it seems that the dates on the chart are not being converted correctly.
I am using a different method to convert the completion date (datetime) from the database to the date on the chart.

 Database completion date: in_time_zone
 Date on chart: to_time(:local)

Maybe the cause is this difference.
I just pushed the fix code to branch: master, could you please try it?

from redmine_issue_evm.

momibun926 avatar momibun926 commented on August 14, 2024

Hi, @soladev
I may have made a slight mistake.
Once an issue is completed, the progress rate during the process cannot be displayed in the chart.
The chart (history) does not reflect the percentage of progress, because it considers the EV of the status date to be important.

It is expected that it will be quite a difficult implementation to reflect the past progress rate of a completed ISSUE in the chart.

from redmine_issue_evm.

soladev avatar soladev commented on August 14, 2024

Okay thanks you for letting me know, I figured it would be a complex implementation.

From what I can tell, the code on master is working as expected.

from redmine_issue_evm.

momibun926 avatar momibun926 commented on August 14, 2024

Hi, @soladev
I tried to implement it, and pushed it to Branch: 5.3_develop.
If you are interested in it, please try to use it.
However, the code is not very good :(

from redmine_issue_evm.

soladev avatar soladev commented on August 14, 2024

From what I can tell it's working as expected on branch 5.3_develop, thanks a lot !

from redmine_issue_evm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.