Comments (17)
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 time_format
and time_zone
.
The fix is to either:
- remove these variables, which allows defaults to be used.
America/Los_Angeles
andF jS, Y, g:i:s a
.alfred-calculate-anything/workflow/tools/time.php
Lines 30 to 31 in e6352a2
- Set values. Can do this either in alfred workflow preference or through alfred with
ca Add date format
andca Set base time zone
(recommended, since you can use completion of known timezones)
from alfred-calculate-anything.
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.
from alfred-calculate-anything.
@vaidab why did you remove time_format and time_zone settings? that's configuration required, make sure to configure it using ca, for more info check the readme.
I've read in this thread that maybe that would be a fix as it used the defaults.
Here's the config now, same issue:
And the output:
2.txt
from alfred-calculate-anything.
@vaidab please try 3.3.0, i've updated the workflow dependencies.
It works flawlessly. Thank you.
from alfred-calculate-anything.
I encounter the same problem, I think it due to the version difference of php.
So I switch my php version into 7.4.
then I modify the code snippet in workflow/tools/time.php at line 108 into this:
if (is_array($this->display_formats) || is_object($this->display_formats))
{
foreach ($this->display_formats as $format) {
$date = $instance->format($format);
$items[] = [
'title' => $date,
'subtitle' => sprintf($strings['format_subtitle'], $format),
'arg' => $date
];
}
}
and modify the line 299 into this: (change to your timezone from https://www.php.net/manual/en/timezones.asia.php
$d = new Date($time, new DateTimeZone("Asia/Shanghai"));
then it works.
but the timezone solution is ugly, maybe someone could give a more elegant code.
from alfred-calculate-anything.
I have the same issue: time function not working.
Removing the variables didn't work.
I'm pasting the logs:
`
[09:48:18.952] Calculate Anything[Script Filter] Queuing argument 'n'
[09:48:19.021] Calculate Anything[Script Filter] Script with argv '(null)' finished
[09:48:19.022] STDERR: Calculate Anything[Script Filter] PHP Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
[09:48:19.026] Calculate Anything[Script Filter] Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
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::__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
{"items":[]}
[09:48:19.029] ERROR: Calculate Anything[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
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::__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
{"items":[]}
[09:48:19.031] Calculate Anything[Script Filter] Queuing argument 'no'
[09:48:19.093] Calculate Anything[Script Filter] Script with argv '(null)' finished
[09:48:19.097] STDERR: Calculate Anything[Script Filter] PHP Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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 /U
sers/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php on line 85
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
[09:48:19.100] Calculate Anything[Script Filter] Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
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::__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
{"items":[]}
[09:48:19.103] Calculate Anything[Script Filter] Queuing argument 'now'
[09:48:19.161] Calculate Anything[Script Filter] Script with argv '(null)' finished
[09:48:19.165] STDERR: Calculate Anything[Script Filter] PHP Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
[09:48:19.167] Calculate Anything[Script Filter] Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
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::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
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
{"items":[{"title":1640072899,"subtitle":"Timestamp","arg":1640072899}]}
[09:48:19.170] ERROR: Calculate Anything[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
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::__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
{"items":[{"title":1640072899,"subtitle":"Timestamp","arg":1640072899}]}
[09:48:21.472] Calculate Anything[Script Filter] Queuing argument 'now+'
[09:48:21.530] Calculate Anything[Script Filter] Script with argv '(null)' finished
[09:48:21.531] ERROR: Calculate Anything[Script Filter] Code 255: PHP Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
PHP 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
Stack trace:
:
#0 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(80): DateTime->__construct('now+', Object(Carbon\CarbonTimeZone))
#1 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/jenssegers/date/src/Date.php(51): Carbon\Carbon->__construct('now+', Object(DateTimeZone))
#2 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/tools/time.php(299): Jenssegers\Date\Date->__construct('now+', Object(DateTimeZone))
#3 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/tools/time.php(234): Workflow\Tools\Time->getDate('now+')
#4 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/tools/time.php(68): Workflow\Tools\Time->extractQueryData('now+')
#5 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/calculateanything.php(179): Workflow\Tools\Time->processQuery()
#6 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/process.php(43): Workflow\CalculateAnything->processTime()
#7 Command line code(3): include_once('/Users/haha/D...')
#8 {main}
thrown in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 80
[09:48:21.542] Calculate Anything[Script Filter] Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
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::__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/Carbon/Traits/Creator.php:80
Stack trace:
#0 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(80): DateTime->__construct('now+', Object(Carbon\CarbonTimeZone))
#1 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/jenssegers/date/src/Date.php(51): Carbon\Carbon->__construct('now+', Object(DateTimeZone))
#2 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/tools/time.php(299): Jenssegers\Date\Date->__construct('now+', Object(DateTimeZone))
#3 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/tools/time.php(234): Workflow\Tools\Time->getDate('now+')
#4 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/tools/time.php(68): Workflow\Tools\Time->extractQueryData('now+')
#5 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/workflow/calculateanything.php(179): Workflow\Tools\Time->processQuery()
#6 /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/process.php(43): Workflow\CalculateAnything->processTime()
#7 Command line code(3): include_once('/Users/haha/D...')
#8 {main}
thrown in /Users/haha/Documents/Alfred.alfredpreferences/workflows/user.workflow.E558BD6C-D996-4113-ACD9-95F560B9A895/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 80
[09:48:21.545] ERROR: Calculate Anything[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, 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/CarbonInterface.php on line 2789
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:
...
`
from alfred-calculate-anything.
Yes. It works.
from alfred-calculate-anything.
I've upgraded to 3.2.0 and "time start of 2021" as well as the other time commands doesn't work.
I've removed time_format and time_zone.
Full output attached:
from alfred-calculate-anything.
@gfgkmn glad it's working
@vaidab why did you remove time_format and time_zone settings? that's configuration required, make sure to configure it using ca, for more info check the readme.
from alfred-calculate-anything.
Not working for me either. On latest version 3.2.0 and MacOS Monterey.
My config looks like this.
from alfred-calculate-anything.
@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.
from alfred-calculate-anything.
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+
from alfred-calculate-anything.
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!
from alfred-calculate-anything.
The issue persists if I remove and readd the time_ config..
from alfred-calculate-anything.
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.
from alfred-calculate-anything.
@vaidab please try 3.3.0, i've updated the workflow dependencies.
from alfred-calculate-anything.
Awesome, this should be completely fixed by now. I'll close this issue.
from alfred-calculate-anything.
Related Issues (20)
- Not Really - Found and solved currency conversion BUG HOT 3
- The addition of the translation has failed. HOT 1
- Certain percentage calculations dropped off after update HOT 7
- backcompat.php removed but still sourced in process.php HOT 1
- Please add support for the CNY alias RMB, for example "1 usd to rmb" HOT 2
- I can't use my crypto
- Allow aliasing php binary path HOT 1
- Love this workflow, but get error stating cannot convert ml (milliliters) to ounces (oz), but you can. One ml = 0.033814 fluid ounces. It is implied that ml is volume so generally do not need to specify that you are converting to fluid ounces so plain language would be milliliters to ounces or abbreviated as ml to oz.
- Installed PHP folder problem HOT 1
- XX% OF XX does not seem to work HOT 4
- Extraneous zipped info.plist in Workflow HOT 1
- [[inches >= 84 AND inches mod 12 == 0]] conversion to ft shows incorrect answer
- Currency conversion not working
- Change ExchangeRate converstion from fixer.io to OpenExchangeRates HOT 1
- FEATURE REQ: Add timezone conversions
- Bug on calculating % HOT 3
- Area HOT 1
- Add option for Thousands (K), Millions (M), Billions (M), Trillions (T)... so we can do 10M EUR in USD
- Doesn't convert oz to ml. "Error, you can not convert from oz to ml". Yes technically it is floz, but nobody uses it. Just allow us to convert from oz to ml without being pedantic. HOT 1
- Currency conversion uses two API calls per request? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-calculate-anything.