Chris,
I guess the timezones are indeed the cause of the problem.
Daylight Saving Time creates a 23-hour day or a 25-day twice a year, but this can account only for a 1 hour difference.
To analyze the problem:
- Which database are you using?
- Imagine you have a demand with a due datetime of March 29 at 17h.
Do you see the same values in the UI as directly in the database?
- If you run frepple in debug mode (by editing the file execute/commands.py – setting loglevel to 2), do you find the very same due date&time in the log file?
If all these tests are correct, then dates & times are passed correctly between the planning engine, the database and the user interface. And the problem might be a bug in the planning engine.
Johan
--
You received this message because you are subscribed to the Google Groups "frePPLe users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to frepple-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
| 1 | TW17970210 | 1,600.00 | 2013-04-15 09:06:40 | 2013-04-15 14:00:00 | False | 0.00 | 0 |
| 2 | TW17970210 | 2,600.00 | 2013-04-13 09:03:20 | 2013-04-13 17:00:00 | False | 0.00 | 0 |
| 3 | TW17970210 | 2,600.00 | 2013-04-12 09:03:20 | 2013-04-12 17:00:00 | False | 0.00 | 0 |
| 4 | TW17970210 | 2,600.00 | 2013-04-11 09:03:20 | 2013-04-11 17:00:00 | False | 0.00 | 0 |
| 5 | TW17970210 | 600.00 | 2013-04-10 15:10:00 | 2013-04-10 17:00:00 | False | 0.00 | 0 |
| 4/9/2013 | 4/10/2013 | 4/11/2013 | 4/12/2013 | 4/13/2013 | 4/14/2013 | 4/15/2013 |
| 0.3 | 0.3 | 0.3 | 0.3 | 0.1 | 0.3 | 0.3 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0.3 | 0.3 | 0.3 | 0.1 | 0.2 | 0 |
| 0% | 99.31% | 99.31% | 99.31% | 100% | 79.28% | 0% |
Chris,
Can you show the records you find in the out_resourceplan table in the database?
They are expected to be a summary in daily buckets of the resource detail, and is the input for the resource plan view.
Chris, Tim,
I tried reproducing the problem, but wasn’t able to.
Also tried changing the timezone on my machine but that isn’t the problem apparantly.
Only possibility I see is that the resource and the operations are in different locations, with different availability calendars.
If that isn’t the case in your model, I’ld need more info to analyze the issue.
Regards,