StatEngine/stat-engine

Return realtime Unit Hour Utilization in First Arriving API

larskendall opened this issue · 0 comments

Currently, UHU is based on the previous shift. However, as the API is meant to be a realtime dashboard, it should return a UHU value that is up to the hour. For shift intervals, this would be the total UHU from shift start to the current hour. For week intervals, this would be the total UHU from the start of the week (ie. moment.startOf('week')) up to the current hour.