Fixed Date Calculation for Refresh Interval Detection

Forgot to recalculate the date, so we don't run into problems if someone works late at night
This commit is contained in:
mkaesemann 2018-07-06 14:54:47 +02:00 committed by GitHub
parent 6db1b2fbfa
commit 7ec692389e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,12 @@ CLASS ZCL_ABAPGIT_PROGRESS IMPLEMENTATION.
mv_cv_time_next = lv_time + c_wait_secs.
ENDIF.
IF sy-datum > mv_cv_datum_next.
mv_cv_datum_next = sy-datum.
ENDIF.
IF mv_cv_time_next < lv_time.
mv_cv_datum_next = sy-datum + 1.
ENDIF.
ENDMETHOD.
ENDCLASS.