Python-carbon

Latest version: v0.2.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.57.0

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.56.0...2.57.0

Summary:
- Fixed 2547 ceil() diff with short month
- Fixed 2531 Invalid floatDiffInDays() calculate
- Fixed 2548 Use unmodified English for period conversion

2.56.0

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.55.2...2.56.0

Summary:
- Added 2528 CarbonPeriod Handle infinite recurrences when parsing period string by dbohn
- Added 2537 Allow precision 0 in Carbon DBAL types by kdaniel95
- Added 2507 Support for PHPStan 1.*
- Fixed 2520 Replace Polish ending in grouped units
- Fixed 2529 Allow strings in comparison methods
⚠️ Breaking change: `null` now fallback to `"now"`, as it's still ambigus, we highly encourage you not to compare `null` to date/Carbon instances and do null-check before comparison.

New Contributors 🎉
* dbohn made their first contribution in https://github.com/briannesbitt/Carbon/pull/2528
* kdaniel95 made their first contribution in https://github.com/briannesbitt/Carbon/pull/2537

2.55.2

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.55.1...2.55.2

Summary:
- Fixed 2514 Support classmap-authoritative composer option (thanks to andriesreitsma)

2.55.1

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.55.0...2.55.1

Summary:
- Fixed 2512 Move translator definition outside autoload

2.55.0

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.54.0...2.55.0

Summary:
- Added 2488 "skip" option in `forHumans()` and `diffForHumans()`
- Added 2509 Symfony 6 support
- Added 2497 composer docs section (thanks to lucasmichot)
- Fixed 2492 Past declensions in Polish
- Fixed 2506 nds_DE translation
- Fixed 2490 Documentation (thanks to Jo-chana)
- Fixed 2452 Throw exception on wrong unit added
- Fixed 2503 Remove work-around for PHP bug 81458
- Changed 2501 Throw exception on invalid timezone ID in `setTestNowAndTimezone()`
- Improved code style 2487 (thanks to lucasmichot)
- Improved tests 2494 2495 2496 (thanks to lucasmichot)

New Contributors 🎉
* Jo-chana made their first contribution in https://github.com/briannesbitt/Carbon/pull/2490
* Chris53897 made their first contribution in https://github.com/briannesbitt/Carbon/pull/2509

2.54.0

Complete commits list: https://github.com/briannesbitt/Carbon/compare/2.53.1...2.54.0

Summary:
- Fixed 2481 Make time handling with `setTestNow()` closest to real time behavior
- ⚠️ see BC notice for this change https://github.com/briannesbitt/Carbon/issues/2481#issuecomment-956645309 the BC only changes the way to mock time in tests (which will no longer fake the timezone by default) behavior outside testing env is not impacted.
- Fixed 2433 Fix Malay meridiem
- Fixed 2478 Fix Latvian short name for months
- Fixed 2479 Fix month plural for Gujarati
- Fixed 2452 Throw exception on wrong unit added
- Added 2484 `setTestNowAndTimezone()`
- Refactored tests and CI (thanks to lucasmichot)

New Contributors 🎉
* wouterj made their first contribution in https://github.com/briannesbitt/Carbon/pull/2453
* ozldmezot made their first contribution in https://github.com/briannesbitt/Carbon/pull/2478

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.