Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
386
stars
232
forks
source link
fix: use `TimeInterval:ToShortString` in API response #346
When getting the values from the API return TimeInterval use the ToShortString method. As when sending the data back the API does not accept the longer forms of TimeInterval.
This means we receive the values from the API as '1d2h3m' instead of '1 days 2 hours 3 minutes'
When getting the values from the API return
TimeInterval
use theToShortString
method. As when sending the data back the API does not accept the longer forms of TimeInterval.This means we receive the values from the API as '1d2h3m' instead of '1 days 2 hours 3 minutes'