GNOME Bugzilla – Bug 134383
Cleanup of hard coded day/time parameters inside code required.
Last modified: 2021-06-09 20:28:49 UTC
There are a number of location in the code which have hard coding. e.g. seconds_per_week = seconds_per_day * 5; The working day is hard coded as 8 x 60 x 60 Probably others too. Needs a code review to get these to at least defines in c or header files. Then we'd able to maintain better control over the code and also start on more detailed task timings.
Sidereal orbit period (days) of around 686.980 should be a clue also to what I also think would be fun to do ! There are still 24 "hours" per sol (day) but the orbital has a lot more sols than Earths 365.xx days. Having a Planner that handled Mars sidereal periods could help project management for non-Earth projects - of which there are a lot going on. This big business right now. Any thoughts ?.
I think handling anything besides earthly conditions is after 1.0 ;)
planner-task-tree.c planner-resource-view.c planner-task-input-dialog.c planner-project-properties.c planner-task-dialog.c mrp-project.c mrp-old-xml.c mrp-task.c is what I found on grep so far.
Now most of this should be in planner_format/parse_duration, instead of scattered.
*** Bug 155496 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/World/planner/-/issues/37.