[BUG] Hyperf\Crontab\Strategy->Executor->floatDiffInRealSeconds deprecate
Author: xuxiaoshuoCreated Sep 21, 2026Updated Sep 21, 2026
Labelsbug
Writing to the log file failed: Use the method diffInUTCSecond instead to make it more explicit about what it does. On next major version, "float" prefix will be removed (as all diff are now returning floating numbers) and "Real" methods will be removed in favor of "UTC" because what it actually does is to convert both dates to UTC timezone before comparison, while by default it does it only if both dates don't have exactly the same timezone (Note: 2 timezones with the same offset but different names are considered different as it's not safe to assume they will always have the same offset). The exception occurred while attempting to log: [18.94]
Source: hyperf/hyperf