-
Hello,
I encountered the following "issue" with the following code:
```php
$seconds = 1.114;
$diffString = Carbon::createFromFormat('U.v', round($seconds, 3))->diffForHumans(
Carb…
-
Hello,
I encountered an issue with the following code:
The package Carbon itself
Carbon version: 2.34.2
PHP version: 7.4.6
I expected to get:
```
A login interface
```
B…
-
Hello,
I encountered an issue with the following code:
```php
echo CarbonInterval::createFromFormat('H:i:s', '01:02:03')->settings(['toStringFormat' => '%H:%I:%S']);
```
Carbon version: **2…
-
New feature (option in `forHumans` / `diffForHumans`):
```php
echo CarbonInterval::years(2)->locale('fa')->forHumans(['altNumbers' => true]);
```
Carbon version: **2.22.0-beta.1**
PHP version…
-
Hey,
I encountered that if the "diffInDays()" returns a value between 7 and 14, in this case 13 days, the "diffForHumans()" returns 1 week, and not 2 weeks, whereas it's closer to 2 weeks, than 1 wee…
-
## To be fixed by #1817:
|English|fa|comments|
|--|--|--|
|2 years|2 سال|۲ سال|
|2yrs|2 سال|۲ سال|
|1 year|1 سال|۱ سال|
|2 months|2 ماه|۲ ماه|
|2mos|2 ماه|۲ ماه|
|1 month|1 ماه|۱ ماه|
|2 we…
-
## Additional fixes
Please note that there is a rather difficult case system in Russian.
Please note common date/time format difference.
So `May 1 2019` could be translated as `Май, 1, 2019` but sh…
-
Hello,
I encountered an issue with the following code:
```php
// A work-week has 38.5 hours
$target = CarbonInterval::hours(38)->minutes(30);
// divide per 5 workdays aka multiply by 0.2
$ta…
-
|English|pl|comments|
|--|--|--|
|2yrs|2l|2 l|
|2mos|2mies|2 mies.|
|2w|2tyg|2 tyg.|
|2d|2d|2 d|
|2h|2g|2 godz.|
|2m|2m|2 min.|
|2s|2s|2 sek.|
|Mon|pon|pon.|
|Mo|Pn|pon.|
|Tue|wt|wt.|
|Tu|…
-
Hello,
Would it be an idea to add an option to `CarbonInterval::forHumans` that outputs `dayz` instead of `weeks` and `daysExcludeWeeks`?
```php
CarbonInterval::instance(new \DateInterval('P30D…