Kyle

Results 319 comments of Kyle

Hello, both are not strictly identical. When you do `src,tests` you scan all the files and for each file the context of all other files from src or tests are...

Yes, please, contributions for missing countries are welcome 🙏 Yes it would be `id-national.php` in this folder.

Hello, `BusinessTime::enable` set the default config, but `Schedule::create()` is a way to isolate a config, so both won't merge. You can either include `'region' => 'sg-national'` in your `Schedule`: ```php...

Hello, I'm sorry for that but there is no way to support that. First, there are legit cases where people doing `Carbon::createFromDate($gregorianYear)->addYears($number)` want to add `$number` years and expect to...

Hello, I'm not sure yet if this should be included into Carbon itself, go into a separate package, or simply be documented as a macro. I also see few little...

I added this macro to https://carbon.nesbot.com/docs/ If you released a package for that, please let me know I could add it to the documentation also.

You can also use `->format('%a')` instead of `->days` it's got overridden recently to behave the same way it would with a diff DateInterval

Hello, > it's the current hour, as in, the 23 hours at which I ran the command (which I did not notice because I am not in UTC) No, 23...

Documentation will be fixed via #3130

PHP was aware a decade ago already, but the current team might want to revisit the issue. The `->days` is indeed a special property (one of the many magic stuffs...