-
Notifications
You must be signed in to change notification settings - Fork 84
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
DueTime interpretation ill defined #346
Comments
Hey @pasi-paasiala, thank you for the issue! As discussed in the call earlier today, we've found the However, for the data type behind, we're using Now, this introduces the following problem:
So, we have a mismatch between the spec and the actual usage: We now need to find a solution for this😀 One possibility would be to change the due date to only represent a date, without any time zone offsets or any time component at all. This has the drawback of degrading the property to no longer support times, e.g. due by Monday at 17:00 would no longer be possible then. Input from others would be greatly appreciated, especially from @jasollien, @wielinde and DDS (if anyone knows the GitHub username of Thomas Frankenmölle, pinging him in a comment would be great😀), since they've also got implementations but weren't present today. Just some more thoughts from me: Changing the data type is a breaking change in the schema, and, in my opinion, too late - we've already finalized the v3.0 release, and communicated this to bSI. In the current situation, we could rather look into how to solve this issue with the current standard and gather some experience that will then influence the next version. |
In OpenProject the due date of work packages (issues) are in Date format. For our users it is rarely necessary to be an exact point of time. How to export this properly to BCF as DateTime indeed is not specified I believe. Currently we export the due dates as 00:00 UTC. However, that is simply due to the fact, that we did not care too much about that topic yet. From our experience with DateTime fields on international projects is that people don't really know/care about that issue even outside our application. They have similar issues with their calendars etc. and are incapable to solve this. This becomes apparent when suddenly the week number is different in the US from the EU, like it is this year. This is when people start calling us. |
I understand the issue. However, by taking away the "time", the dueDate now ill have different meaning depending on the time zone. That will lead into other misunderstandings, for example: The due date is 15 hours later in the US than in Russia. By having a time, the due will always be at the same time, even though it might be in the middle of the night for some countries. That said: Bimsync always uses the time: 00:00UTC |
IMO, all data that refer to a |
We briefly discussed this in the call, we might not have to change the behavior, but document the conventions used when dealing with |
Due date is understood as date in likely all BCF implementations. However, it is expressed as date with time component. This causes problems when transferring the due date between in BCF, since some implementations may strip of the time part and only use the date part. Also it is not specified what the time part should be. One possibility is to send due date as midnight UTC, but that hasn't been documented anywhere.
The text was updated successfully, but these errors were encountered: