Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Function not working #54

Closed
LampPrinter opened this issue Nov 28, 2021 · 17 comments
Closed

Time Function not working #54

LampPrinter opened this issue Nov 28, 2021 · 17 comments

Comments

@LampPrinter
Copy link

LampPrinter commented Nov 28, 2021

Are you using the latest version of the workflow?
Yes. On MacOS Monterey. M1 MacBook.

Describe the bug
Typing any query like "time start of 2021" returns no results.

To Reproduce
Screenshot 2021-11-28 at 8 56 31 AM

Expected behavior

Debug Output
Screenshot 2021-11-28 at 8 57 46 AM Redacted

System information:

  • OS: Mac OS 12.0.1
  • Alfred Version: 4.6.1
  • PHP Version - 8.0.13
@gfgkmn
Copy link

gfgkmn commented Dec 15, 2021

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.

@ipwnponies
Copy link

ipwnponies commented Dec 16, 2021

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)

@vaidab
Copy link

vaidab commented Dec 21, 2021

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:
...
`

@biati-digital
Copy link
Owner

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.

@gfgkmn
Copy link

gfgkmn commented Dec 23, 2021

Yes. It works.

@vaidab
Copy link

vaidab commented Dec 23, 2021

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

@biati-digital
Copy link
Owner

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

@LampPrinter
Copy link
Author

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

@biati-digital
Copy link
Owner

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

@vaidab
Copy link

vaidab commented Dec 23, 2021

@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

@biati-digital
Copy link
Owner

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+

@ipwnponies
Copy link

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!

@vaidab
Copy link

vaidab commented Dec 24, 2021

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

@philp2
Copy link

philp2 commented Dec 31, 2021

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.

@biati-digital
Copy link
Owner

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

@vaidab
Copy link

vaidab commented Jan 8, 2022

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

It works flawlessly. Thank you.

@biati-digital
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants