Coder Social home page Coder Social logo

Comments (17)

ipwnponies avatar ipwnponies commented on September 20, 2024 2

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.
image

The fix is to either:

  • remove these variables, which allows defaults to be used. America/Los_Angeles and F jS, Y, g:i:s a.
    $this->timezone = \Alfred\getArgument(!empty($argv) ? $argv : '', 3, $this->getSetting('time_zone', 'America/Los_Angeles'));
    $this->display_formats = $this->getSetting('time_format', ['F jS, Y, g:i:s a']);
  • Set values. Can do this either in alfred workflow preference or through alfred with ca Add date format and ca Set base time zone (recommended, since you can use completion of known timezones)

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on September 20, 2024 2

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 avatar vaidab commented on September 20, 2024 1

@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:

Screenshot 2021-12-23 at 09 48 29

And the output:
2.txt

from alfred-calculate-anything.

vaidab avatar vaidab commented on September 20, 2024 1

@vaidab please try 3.3.0, i've updated the workflow dependencies.

It works flawlessly. Thank you.

from alfred-calculate-anything.

gfgkmn avatar gfgkmn commented on September 20, 2024

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.

vaidab avatar vaidab commented on September 20, 2024

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.

gfgkmn avatar gfgkmn commented on September 20, 2024

Yes. It works.

from alfred-calculate-anything.

vaidab avatar vaidab commented on September 20, 2024

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:

2.txt

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on September 20, 2024

@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.

LampPrinter avatar LampPrinter commented on September 20, 2024

Not working for me either. On latest version 3.2.0 and MacOS Monterey.
My config looks like this.

Screenshot 2021-12-23 at 11 50 17 AM Redacted

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on September 20, 2024

@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.

biati-digital avatar biati-digital commented on September 20, 2024

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.

ipwnponies avatar ipwnponies commented on September 20, 2024

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.

vaidab avatar vaidab commented on September 20, 2024

The issue persists if I remove and readd the time_ config..

from alfred-calculate-anything.

philp2 avatar philp2 commented on September 20, 2024

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.

biati-digital avatar biati-digital commented on September 20, 2024

@vaidab please try 3.3.0, i've updated the workflow dependencies.

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on September 20, 2024

Awesome, this should be completely fixed by now. I'll close this issue.

from alfred-calculate-anything.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.