After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 134383 - Cleanup of hard coded day/time parameters inside code required.
Cleanup of hard coded day/time parameters inside code required.
Status: RESOLVED OBSOLETE
Product: planner
Classification: Other
Component: General
unspecified
Other All
: Normal minor
: 1.0
Assigned To: planner-maint
planner-maint
cleanup
: 155496 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-02-14 14:47 UTC by Lincoln Phipps
Modified: 2021-06-09 20:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lincoln Phipps 2004-02-14 14:47:29 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.
Comment 1 Lincoln Phipps 2004-02-14 15:03:24 UTC
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 ?.
Comment 2 Richard Hult 2004-02-15 23:23:33 UTC
I think handling anything besides earthly conditions is after 1.0 ;)
Comment 3 Lincoln Phipps 2004-03-06 11:22:01 UTC
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.
Comment 4 Richard Hult 2005-02-18 22:58:31 UTC
Now most of this should be in planner_format/parse_duration, instead of scattered.
Comment 5 Richard Hult 2005-10-13 20:19:36 UTC
*** Bug 155496 has been marked as a duplicate of this bug. ***
Comment 6 GNOME Infrastructure Team 2021-06-09 20:28:49 UTC
-- 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.