Steps to reproduce:
1. Add a single scheduled event
2. Request Event via the `/api/events` endpoint
The duration attribute is a negative integer.
The duration attribute should be a positive integer.
This is a bug introduced in the r/4.x branch. The calculation of the Duration has been modified from EndTime - StartTime to StartTime - EndTime, which makes no sense and leads to negative values.