OcLib
This commit is contained in:
@@ -66,7 +66,7 @@ func (wfa *WorkflowExecution) Equals(we *WorkflowExecution) bool {
|
||||
func (ws *WorkflowExecution) PurgeDraft(request *tools.APIRequest) error {
|
||||
if ws.EndDate == nil {
|
||||
// if no end... then Book like a savage
|
||||
e := ws.ExecDate.Add(time.Hour)
|
||||
e := ws.ExecDate.UTC().Add(time.Hour)
|
||||
ws.EndDate = &e
|
||||
}
|
||||
accessor := ws.GetAccessor(request)
|
||||
|
||||
Reference in New Issue
Block a user