-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time Function not working #54
Comments
I encounter the same problem, I think it due to the version difference of php.
and modify the line 299 into this: (change to your timezone from https://www.php.net/manual/en/timezones.asia.php then it works. but the timezone solution is ugly, maybe someone could give a more elegant code. |
Edit: for 3.1.1, on big sur. 3.2.0 release has fixed this for me. It seems the issue is with the unset workflow env variables The fix is to either:
|
I have the same issue: time function not working. ` Deprecated: Return type of Carbon\Traits\Date::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1409 Deprecated: Return type of Carbon\Traits\Date::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1425 Deprecated: Return type of Carbon\Traits\Date::setTime($hour, $minute, $second = 0, $microseconds = 0) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1460 Deprecated: Return type of Carbon\Traits\Date::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1474 Deprecated: Return type of Carbon\Traits\Date::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1530 Deprecated: Return type of Carbon\Traits\Date::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Traits\Date::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 598 Deprecated: Return type of Carbon\Traits\Date::getLastErrors() should either be compatible with DateTime::getLastErrors(): array|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 839 Deprecated: Return type of Carbon\Traits\Date::diff($date = null, $absolute = false) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Traits\Date::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php on line 432 Deprecated: Return type of Carbon\Traits\Date::__set_state($dump) should either be compatible with DateTime::__set_state(array $array): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85 Deprecated: Return type of Carbon\Traits\Date::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::add($unit, $value = 1, $overflow = null) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 182 Deprecated: Return type of Carbon\Traits\Date::sub($unit, $value = 1, $overflow = null) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 317 Deprecated: Return type of Carbon\Carbon::format($format) should either be compatible with DateTimeInterface::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Carbon::diff($date = null, $absolute = false) should either be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Carbon::__wakeup() should either be compatible with DateTimeInterface::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Traits\Date::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1409 Deprecated: Return type of Carbon\Traits\Date::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1425 Deprecated: Return type of Carbon\Traits\Date::setTime($hour, $minute, $second = 0, $microseconds = 0) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1460 Deprecated: Return type of Carbon\Traits\Date::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1474 Deprecated: Return type of Carbon\Traits\Date::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1530 Deprecated: Return type of Carbon\Traits\Date::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Traits\Date::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 598 Deprecated: Return type of Carbon\Traits\Date::getLastErrors() should either be compatible with DateTime::getLastErrors(): array|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 839 Deprecated: Return type of Carbon\Traits\Date::diff($date = null, $absolute = false) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Traits\Date::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php on line 432 Deprecated: Return type of Carbon\Traits\Date::__set_state($dump) should either be compatible with DateTime::__set_state(array $array): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85 Deprecated: Return type of Carbon\Traits\Date::add($unit, $value = 1, $overflow = null) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 182 Deprecated: Return type of Carbon\Traits\Date::sub($unit, $value = 1, $overflow = null) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 317 Deprecated: Return type of Carbon\Carbon::format($format) should either be compatible with DateTimeInterface::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Carbon::getTimezone() should either be compatible with DateTimeInterface::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Carbon::diff($date = null, $absolute = false) should either be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Carbon::__wakeup() should either be compatible with DateTimeInterface::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Traits\Date::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1409 Deprecated: Return type of Carbon\Traits\Date::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1425 Deprecated: Return type of Carbon\Traits\Date::setTime($hour, $minute, $second = 0, $microseconds = 0) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1460 Deprecated: Return type of Carbon\Traits\Date::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1474 Deprecated: Return type of Carbon\Traits\Date::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1530 Deprecated: Return type of Carbon\Traits\Date::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Traits\Date::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 598 Deprecated: Return type of Carbon\Traits\Date::getLastErrors() should either be compatible with DateTime::getLastErrors(): array|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 839 Deprecated: Return type of Carbon\Traits\Date::diff($date = null, $absolute = false) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Traits\Date::__set_state($dump) should either be compatible with DateTime::__set_state(array $array): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85 Deprecated: Return type of Carbon\Traits\Date::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::add($unit, $value = 1, $overflow = null) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 182 Deprecated: Return type of Carbon\Traits\Date::sub($unit, $value = 1, $overflow = null) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 317 Deprecated: Return type of Carbon\Carbon::format($format) should either be compatible with DateTimeInterface::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Carbon::getTimezone() should either be compatible with DateTimeInterface::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Carbon::diff($date = null, $absolute = false) should either be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Carbon::__wakeup() should either be compatible with DateTimeInterface::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Traits\Date::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1409 Deprecated: Return type of Carbon\Traits\Date::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1425 Deprecated: Return type of Carbon\Traits\Date::setTime($hour, $minute, $second = 0, $microseconds = 0) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1460 Deprecated: Return type of Carbon\Traits\Date::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1474 Deprecated: Return type of Carbon\Traits\Date::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1530 Deprecated: Return type of Carbon\Traits\Date::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Traits\Date::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line: Deprecated: Return type of Carbon\Traits\Date::diff($date = null, $absolute = false) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Traits\Date::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php on line 432 Deprecated: Return type of Carbon\Traits\Date::__set_state($dump) should either be compatible with DateTime::__set_state(array $array): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85 Deprecated: Return type of Carbon\Traits\Date::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::add($unit, $value = 1, $overflow = null) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 182 Deprecated: Return type of Carbon\Traits\Date::sub($unit, $value = 1, $overflow = null) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 317 Deprecated: Return type of Carbon\Carbon::format($format) should either be compatible with DateTimeInterface::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Carbon::getTimezone() should either be compatible with DateTimeInterface::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Carbon::diff($date = null, $absolute = false) should either be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Carbon::__wakeup() should either be compatible with DateTimeInterface::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Warning: foreach() argument must be of type array|object, string given in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/tools/time.php on line 108 Deprecated: Return type of Carbon\Traits\Date::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Traits\Date::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1409 Deprecated: Return type of Carbon\Traits\Date::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1425 Deprecated: Return type of Carbon\Traits\Date::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1474 Deprecated: Return type of Carbon\Traits\Date::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1530 Deprecated: Return type of Carbon\Traits\Date::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Traits\Date::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 598 Deprecated: Return type of Carbon\Traits\Date::getLastErrors() should either be compatible with DateTime::getLastErrors(): array|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 839 Deprecated: Return type of Carbon\Traits\Date::diff($date = null, $absolute = false) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Traits\Date::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php on line 432 Deprecated: Return type of Carbon\Traits\Date::__set_state($dump) should either be compatible with DateTime::__set_state(array $array): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85 Deprecated: Return type of Carbon\Traits\Date::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::add($unit, $value = 1, $overflow = null) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 182 Deprecated: Return type of Carbon\Traits\Date::sub($unit, $value = 1, $overflow = null) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 317 Deprecated: Return type of Carbon\Carbon::format($format) should either be compatible with DateTimeInterface::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Carbon::getTimezone() should either be compatible with DateTimeInterface::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Carbon::diff($date = null, $absolute = false) should either be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Carbon::__wakeup() should either be compatible with DateTimeInterface::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Traits\Date::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1409 Deprecated: Return type of Carbon\Traits\Date::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1425 Deprecated: Return type of Carbon\Traits\Date::setTime($hour, $minute, $second = 0, $microseconds = 0) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1460 Deprecated: Return type of Carbon\Traits\Date::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1474 Deprecated: Return type of Carbon\Traits\Date::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1530 Deprecated: Return type of Carbon\Traits\Date::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Traits\Date::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 598 Deprecated: Return type of Carbon\Traits\Date::getLastErrors() should either be compatible with DateTime::getLastErrors(): array|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 839 Deprecated: Return type of Carbon\Traits\Date::diff($date = null, $absolute = false) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Traits\Date::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php on line 432 Deprecated: Return type of Carbon\Traits\Date::__set_state($dump) should either be compatible with DateTime::__set_state(array $array): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85 Deprecated: Return type of Carbon\Traits\Date::add($unit, $value = 1, $overflow = null) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 182 Deprecated: Return type of Carbon\Traits\Date::sub($unit, $value = 1, $overflow = null) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 317 Deprecated: Return type of Carbon\Carbon::format($format) should either be compatible with DateTimeInterface::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Carbon::getTimezone() should either be compatible with DateTimeInterface::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Carbon::diff($date = null, $absolute = false) should either be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Carbon::__wakeup() should either be compatible with DateTimeInterface::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Fatal error: Uncaught Exception: Failed to parse time string (now+) at position 3 (+): Unexpected character in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:80 Deprecated: Return type of Carbon\Traits\Date::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Traits\Date::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1409 Deprecated: Return type of Carbon\Traits\Date::setISODate($year, $week, $day = 1) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1425 WillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1460 Deprecated: Return type of Carbon\Traits\Date::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1474 Deprecated: Return type of Carbon\Traits\Date::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1530 Deprecated: Return type of Carbon\Traits\Date::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Traits\Date::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 598 Deprecated: Return type of Carbon\Traits\Date::getLastErrors() should either be compatible with DateTime::getLastErrors(): array|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 839 Deprecated: Return type of Carbon\Traits\Date::diff($date = null, $absolute = false) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Traits\Date::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php on line 432 Deprecated: Return type of Carbon\Traits\Date::__set_state($dump) should either be compatible with DateTime::__set_state(array $array): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85 Deprecated: Return type of Carbon\Traits\Date::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Deprecated: Return type of Carbon\Traits\Date::add($unit, $value = 1, $overflow = null) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 182 Deprecated: Return type of Carbon\Traits\Date::sub($unit, $value = 1, $overflow = null) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 317 Deprecated: Return type of Carbon\Carbon::format($format) should either be compatible with DateTimeInterface::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php on line 78 Deprecated: Return type of Carbon\Carbon::getTimezone() should either be compatible with DateTimeInterface::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 648 Deprecated: Return type of Carbon\Carbon::diff($date = null, $absolute = false) should either be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 121 Deprecated: Return type of Carbon\Carbon::__wakeup() should either be compatible with DateTimeInterface::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 118 Fatal error: Uncaught Exception: Failed to parse time string (now+) at position 3 (+): Unexpected character in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carb: |
This should be fixed in the latest version https://github.com/biati-digital/alfred-calculate-anything/releases Please someone try it and let me know if it's working for you. |
Yes. It works. |
I've upgraded to 3.2.0 and "time start of 2021" as well as the other time commands doesn't work. Full output attached: |
@LampPrinter you need to be more specific, i'm not able to provide any help if i've no information, please check the very first post and provide the same information. |
Hi @vaidab, thank you for the screenshot and the log, the error comes from a dependency that the workflow uses to make dateTime calculations, i'll see if the author of that code has update it to solve those errors in PHP 8+ |
Confirming that v3.2.0 fixes the issue for me. I had a clean installation, with no migrated config values. Thanks a lot for fixes! |
The issue persists if I remove and readd the time_ config.. |
My first installation was of 3.2.0 on an M1 Macbook and Monterey. I get the results shown in the first post - searches, not data. I've not tried deleting any variables per this thread. |
Awesome, this should be completely fixed by now. I'll close this issue. |
Are you using the latest version of the workflow?
Yes. On MacOS Monterey. M1 MacBook.
Describe the bug
Typing any query like "time start of 2021" returns no results.
To Reproduce
Expected behavior
Debug Output
System information:
The text was updated successfully, but these errors were encountered: