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

Update dependency nesbot/carbon to v2 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 22, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
nesbot/carbon (source) require major ^1.21 -> 2.46.0

Release Notes

briannesbitt/Carbon

v2.46.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.45.1...2.46.0

Summary:

  • Fixed #​2288 Makes PHPDoc consistent
  • Fixed #​2293 Properly fallback static macro if errors are not converted into exceptions

v2.45.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.45.0...2.45.1

Summary:

  • Fixed #​2285 ceilMonth() returns incorrect year when overflowing

v2.45.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.44.0...2.45.0

Summary:

  • Fixed #​2268 rounding with month overflow
  • Fixed #​2270 croatian date format
  • Fixed #​2217 use debugger-friendly property retrieving method
  • Fixed #​2275 implement CarbonPeriod::get() method
  • Fixed #​2091 latvian declensions
  • Fixed #​2089 provide non-ambiguous add/sub methods for interval

v2.44.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.43.0...2.44.0

Summary:

  • Added #​2263 Handle trailing zero in hasFormat() with "W" format
  • Fixed #​2261 Setting a timezone such as +5:30 using utcOffset(330)
  • Fixed #​2265 Russian parsing for today, tomorrow and yesterday

v2.43.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.42.0...2.43.0

Summary:

  • Added #​2250 context() method available from inside macros and mixins
  • Fixed #​2255 floatDiffInDays() calculation
  • ⚠️ Changed #​2243 callable constants of CarbonPeriod changed from "Class::method" syntax to ["Class", "method"]

v2.42.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.41.5...2.42.0

Summary:

  • Fixed #​2240 Occitan ordinal rule
  • Fixed #​2238 Replace "antier" with "anteayer" in Spanish (except for Mexico)
  • Fixed #​2232 Use 4-digits years for L format in nl_NL (Dutch in Netherlands)

v2.41.5

Compare Source

Complete commits list: briannesbitt/Carbon@2.41.4...2.41.5

Summary:

  • Fixed #​2229 infinite loop in ceiling intervals in forHumans()

v2.41.4

Compare Source

Complete commits list: briannesbitt/Carbon@2.41.3...2.41.4

Summary:

  • Fixed #​2226 Swap Lithuanian before and from_now translations
  • Improved performances using Zend optimization with native function invocation

v2.41.3

Compare Source

Complete commits list: briannesbitt/Carbon@2.41.2...2.41.3

Summary:

  • Fixed #​2221 Carbon::parse('YYYYMMDDHHMMSS')

v2.41.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.41.1...2.41.2

Summary:

  • Allow null dates in hasFormat()

v2.41.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.41.0...2.41.1

Summary:

  • #​2214 Fixed YYYYMMDD support for parse()

v2.41.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.40.1...2.41.0

Summary:

  • #​2194 Added getters to access CarbonPeriod like a DatePeriod object
  • #​2191 Added withTestNow() method
  • #​2195 Fixed Norwegian Nynorsk translations
  • #​2201 Fixed exception occurring with PHP < 7.4 and xDebug when inspecting Carbon instance before creation
  • #​2199 Added microsecond-precision timestamps support while creating new instances
  • #​2198 Added hasFormatWithModifiers() method
  • #​2213 Improved Malay translations

v2.40.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.40.0...2.40.1

Summary:
Allow Carbon::createFromFormat('c') with string matching the c format
Fix for laravel/framework#​34474
Work-around for https://bugs.php.net/bug.php?id=80141

v2.40.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.39.2...2.40.0

Summary:

  • #​2175 Added floatDiffInWeeks() method
  • #​2177 Fixed auto-fill timezone argument in factory methods bug
  • #​2186 Fixed Greenlandic translations
  • #​2187 Fixed Luxembourgish translations

v2.39.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.39.1...2.39.2

Summary:

  • #​2185 Fix hasFormat() with RegExp characters

v2.39.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.39.0...2.39.1

Summary:

  • #​2180 Fix hasFormat() with slashes in formats and add canBeCreatedFromFormat() method

v2.39.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.38.0...2.39.0

Summary:

  • #​2146 Added shorthand for DateTimeInterface::RFC3339_EXTENDED
  • #​2150 Fixed Asturian units
  • #​2154 Added Hebrew abbreviations
  • #​2164 Fixed Estonian date formats

v2.38.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.37.0...2.38.0

⚠️ Since 2.38.0 CarbonInterval ->copy() method preserve the ->invert flag of the interval.

Summary:

  • #​2144 Fixed total() result and total* properties when the interval contains negative values
  • #​2144 Fixed cascade() result and when the interval contains negative values
  • #​2144 Added daysExcludedWeeks setter
  • #​2144 Added support for negative values in unit constructors such as CarbonInterval::years(), CarbonInterval::months() etc.
  • #​2144 Allowed getFactor() to get multiple-steps factors

v2.37.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.36.1...2.37.0

⚠️ Since 2.37.0 CarbonInterval ->total() method and ->total* properties take the invert while it was previously omitted due to a bug. This means it could be a breaking change for situations expecting an absolute total and you will have to use abs() (for instance abs($interval->totalSeconds)) to get an absolute value again.

Summary:

  • #​2129 Improved Panjabi translations
  • #​2132 Improved Kurdish translations
  • #​2138 Implemented standalone months for Lithuanian language
  • #​2137 Allowed false in setTestNow()
  • #​2136 Fixed rounding result with inverted interval (or diffForHumans with future dates)
  • #​2126 Fixed CarbonInterval::cascade() calculation
  • #​2126 Fixed ->total() method and ->total* properties invert flag handling

v2.36.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.36.0...2.36.1

Summary:

  • Added #​2127 constants for months
  • Fixed #​2128 PHPStan macro method detection

v2.36.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.35.0...2.36.0

Summary:

  • Added #​2116 dynamic intervals
  • Added #​2115 microsecond as possible diff minimum unit
  • Added #​2106 complete Somali translations
  • Added #​1916 PHPStan extension for macros
  • Fixed #​2104 #​2125 PHPDoc typing annotations
  • Fixed #​2117 Doctrine default precision
  • Improved #​2101 allow to find more timezones with CarbonTimeZone::toRegionName()

v2.35.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.34.2...2.35.0

Summary:

  • Added #​1967 auto mode to start/end week using current locale
  • Added #​2095 Make locale default to current global locale in parseFromLocale()
  • Added #​2096 #​2094 #​2092 Support today, yesterday and tomorrow in Carbon::parseFromLocale()

v2.34.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.33.1...2.34.2

Summary:

  • Optimized start and end of week calculation

v2.34.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.33.0...2.34.1

Summary:

  • Enhanced exception message about TranslatorInterface
  • Updated PHPDoc

v2.34.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.33.0...2.34.0

Summary:

  • Fixed #​2081 Ukrainian parsing
  • Fixed #​2076 Sinhala translations
  • Improved #​2078 Georgian translations
  • Improved #​2050 ORM Carbon type
  • Improved #​2085 Type exceptions to catch them more easily

v2.33.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.32.2...2.33.0

Summary:

  • Added #​2058 Option to add milliseconds in diffForHumans()
  • Added #​2063 Util methods to get CarbonTimeZone objects or offset string from hour/minutes shift number
  • Added #​2056 symfony/polyfill-mbstring requirement to work without mbstring extension
  • Fixed #​2059 Timezone offset name for not full hour

v2.32.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.32.1...2.32.2

Summary:

  • Fixed #​2049 doctrine ORM Carbon type inheritance
  • Fixed #​2046 Uzbek Cyrillic translations

v2.32.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.32.0...2.32.1

Summary:

  • Fixed #​2045 Doctrine ORM Carbon type plateform compatibility

v2.32.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.31.0...2.32.0

Summary:

  • Added #​2041 Provide Doctrine ORM Carbon types
  • Fixed #​2036 Short and long month January translation in de_AT

v2.31.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.30.0...2.31.0

Summary:

  • Added #​2012 ->betweenIncluded() method
  • Added #​2023 ->diffInQuarters() method
  • Fixed #​1963 compliance of translations with CLDR database (second step, deeper check)
  • Fixed #​2024 month termination of isoFormat('LLL')
  • Fixed #​2027 Catalan short months declension
  • Fixed #​2022 absolute diff translation declensions

v2.30.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.29.1...2.30.0

Summary:

  • Added #​1986 DateTime/DateTimeImmutable/DateInterval/DatePeriod support in constructors
  • Added #​2005 toStringFormat support for CarbonInterval
  • Fixed #​2007 ->total* calculation
  • Fixed #​2003 Allow to construct with invalid timezones when safe mode is off

v2.29.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.29.0...2.29.1

Summary:

v2.29.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.28.0...2.29.0

Summary:

  • Fixed #​1969 OPCache pre-loading compatibility
  • Fixed #​1971 Improve performances (bottleneck in loading translations files).
  • Fixed #​1980 CarbonPeriod no longer set default locale to iterated date
  • Fixed #​1989 Allow local setter/getter macros
  • Fixed #​1988 Creation of Carbon instances using reflection

v2.28.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.27.0...2.28.0

Summary:

  • Fixed #​1951 createFromTimestamp() incorrect timezone shown during DST change
  • Fixed #​1949 Timezone abbreviation case
  • Fixed #​1871 Improve compliance of translations with CLDR database (first step)
  • Fixed #​1958 Timezone integer input consistency

v2.27.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.26.0...2.27.0

Summary:

  • Added #​1937 Allow Symfony 5
  • Added #​1930 Options for rounding in forHumans
  • Added #​1918 CarbonInterval::createFromFormat() static method
  • Added #​1918 CarbonInterval methods: toArray() getNonZeroValues() and getValuesSequence()
  • Added #​1928 Russian diff translation
  • Improved #​1927 Finnish translation
  • Improved #​1929 Indonesian translation
  • Improved #​1908 Korean translation
  • Changed #​1941 Set "me" and "scr" locales as aliases

v2.26.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.25.3...2.26.0

Summary:

  • Added #​356 precision parameter for methods toDateTimeLocalString, toTimeString, toDateTimeString and toIso8601ZuluString
  • Improved #​1914 typings for better IDE auto-completion

v2.25.3

Compare Source

Complete commits list: briannesbitt/Carbon@2.25.2...2.25.3

Summary:

  • Improved typing

v2.25.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.25.1...2.25.2

Summary:

  • Fixed #​1904 Replaced $this with CarbonInterface in PHPDoc
  • Fixed #​1910 seconds Serbo-Croatian translation

v2.25.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.25.0...2.25.1

Summary:

  • #​1902 Fixed Croatian Bosnian translations

v2.25.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.24.0...2.25.0

Summary:

  • #​1889 Fixed Ukrainian units translation
  • #​1893 Fixed Belarussian units translation
  • #​1886 Fix slashes support in hasFormat()
  • Added recurrences support in Carbon::toPeriod()
  • #​1877 Added support for timezone short offset format
  • #​1874 Provided easy way to create macros that can be both static and dynamic
  • #​1814 Handled PHP changes in static closure binding

v2.24.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.23.1...2.24.0

Summary:

  • Improved period/interval string detection in Carbon::make()
  • #​1857 Fixed static methods typing auto-completion
  • #​1856 Added string arguments support in isSame* methods
  • #​1861 Added aUnit option in Thai
  • #​1860 Allowed Closure in setTestNow()
  • Synchronized CarbonPeriod and CarbonInterval with Laravel locale
  • #​1847 Added period/diff translation in Arabic
  • #​1824 Improved Chinese translations and spacing
  • #​1800 Fixed Lithuanian declensions and added calendar and ordinal translations
  • #​1842 Fixed Latvian declensions and added aUnit and short units
  • #​1849 Fixed Slovenian declensions and added short units
  • #​1849 Fixed Hungarian declensions

v2.23.1

Compare Source

Fixed #​1851 Update all Carbon classes on Laravel locale change

v2.23.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.22.3...2.23.0

Summary:

  • #​1841 Made Carbon compatible with new PHP 8 signatures of DateTime
  • #​1840 Added short form or year for year in Turkish
  • #​1837 Fixed Finnish translation
  • Fixed alternate numbers in hours
  • #​1817 Use alternative numbers in translated duration strings
  • #​1831 Fixed global translator caching
  • #​1834 Fixed language detection in Lumen
  • #​1833 Improved cast() methods: now they can handle native PHP date classes and sub-classes
  • Added Carbon::toDateTimeImmutable(), CarbonInterval::toDateInterval(), CarbonPeriod::toDatePeriod()
  • Fixed recurrences count for CarbonPeriod created from DatePeriod
  • #​1822 Changed short units in Polish
  • #​1774 Added CarbonPeriod methods: starts(At/After/Before), ends(At/After/Before)
  • #​1826 Added cast() method and traits mixins to CarbonInterval and CarbonPeriod
  • #​1825 Added floor/ceil/round methods on CarbonInterval and CarbonPeriod
  • #​1829 Improved CarbonPeriod JSON serialization
  • #​1830 Added contains() in CarbonPeriod
  • Added getIncludedStartDate() and getIncludedEndDate() in CarbonPeriod
  • Added follows(), isFollowedBy() and isConsecutiveWith() in CarbonPeriod
  • #​1822 Fix Polish short units
  • #​1814 Allow to use mixins and macros with PHP 7.4 and 8
  • Fixed equalTo/notEqualTo in CarbonPeriod to ignore mutability of start/end dates
  • #​1774 Added CarbonPeriod methods: starts(At/After/Before), ends(At/After/Before)
  • #​1826 Added cast() method and traits mixins to CarbonInterval and CarbonPeriod
  • #​1825 Added floor/ceil/round methods on CarbonInterval and CarbonPeriod
  • #​1782 Fixed from_now Chinese translation

v2.22.3

Compare Source

Fixed #​1834 language detection in Lumen

Commit: briannesbitt/Carbon@2.22.1...2.22.3

v2.22.2

Compare Source

v2.22.1

Compare Source

Fixed #​1831 resolve cache inconsistent with setLocale('xx') and ->locale('en')

Commit: briannesbitt/Carbon@2.22.0...2.22.1

v2.22.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.21.3...2.22.0

Summary:

  • #​1778 Added CarbonPeriod methods: copy(), make(), instance(), forEach(), map()
  • #​1775 Added equalTo() to CarbonInterval and CarbonPeriod
  • #​1797 Added notEqualTo() to CarbonInterval and CarbonPeriod
  • #​1796 Added CarbonInterval comparison methods
  • #​1803 Fixed Swedish translation
  • #​1802 Fixed Catalan translation
  • #​1808 Allowed mixin() to load traits
  • #​1807 Fixed Croatian translation
  • #​1811 Added a_unit for Polish
  • #​1809 Added betweenExcluded method and between methods for intervals
  • Fixed macros in PHP 8
  • #​1818 Fixed Persian translation of a_hour/second/from_now
  • #​1816 Fixed from_now translation in Chinese

v2.21.3

Compare Source

Complete commits list: briannesbitt/Carbon@2.21.2...2.21.3

Summary:

  • #​1790 Fixed diff in seconds/microseconds calculation

v2.21.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.21.0...2.21.2

Summary:

  • #​1790 Fixed unexpected diffInSeconds/Microseconds output
  • #​1783 Added Marathi after/before translations
  • #​1792 Added Lithuanian short units and fixed correct case of months/weekdays
  • #​1799 Fixed day names in Pashto

v2.21.1

Compare Source

v2.21.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.20.0...2.21.0

Summary:

  • #​1786 Added CLI program
  • #​1779 Optimized Laravel booting
  • #​1771 Fixed Filipino translations for units
  • #​1769 Allowed strings and DateTime instances in between() parameters
  • #​1756 Added parseFromLocale() method in the CarbonInterval class

v2.20.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.19.1...2.20.0

Summary:

  • #​1745 CarbonPeriod::overlaps() method and method to create CarbonPeriod from Carbon/CarbonImmutable instances
  • #​1746 More generic methods is, next, previous getting strings such as "sunday", "1 July" and automatically isXyz(), nextXyz() and previousXyz() if it matches the given string.
  • #​1748 Support Laravel event dispatcher's contract thanks to @​lorisleiva
  • #​1753 Implement CarbonInterval::shares (like times but to divide) and multiply/divide method that return precise and cascaded results.

v2.19.2

Compare Source

Fixed #​1749 Greek year abbreviation

v2.19.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.19.0...2.19.1

Summary:

v2.19.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.18.0...2.19.0

Summary:

  • Fixed #​1725 Catalan short units
  • Fixed #​1665 Standard Moroccan Tamazight year translation
  • Fixed #​1730 PHPDoc for $englishMonth and $shortEnglishMonth attributes
  • Added #​1731 Better exceptions messages for values out of bounds
  • Added #​1732 Finnish short units
  • Fixed Serbian latin ME translations

v2.18.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.17.1...2.18.0

Summary:

  • Added #​1703 Danish short month and short day
  • Fixed #​1726 Swedish Thursday short notation
  • Fixed #​1714 Indonesian before/after wording
  • Added Polish language genitive for months
  • Added Chinese missing before/after in CN/MO regions
  • Added explicit typing to help usages with strict_types=1
  • Fixed #​1706 Allow mixins to have constructor arguments
  • Added SEQUENTIAL_PARTS_ONLY option for diffForHumans

v2.17.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.17.0...2.17.1

Summary:

  • Fixed #​1703 Danish short month and short day

v2.17.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.16.3...2.17.0

Summary:

  • Improved #​1690 floatDiffInDays() result precision
  • Added #​1691 __debugInfo() method to ease var_dump
  • Fixed #​1682 short days in Arabic
  • Added #​1697 short units in Turkish

v2.16.3

Compare Source

Complete commits list: briannesbitt/Carbon@2.16.2...2.16.3

Summary:

  • Fixed #​1679 day abbreviated in Danish
  • Added #​1682 "a few second" translation in Arabic
  • Added diff translations in Albanian

v2.16.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.16.1...2.16.2

Summary:

  • Added #​1673 Polish few seconds translation
  • Added #​1674 Russian minute declension
  • Fixed #​1678 Dutch month short unit

v2.16.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.16.0...2.16.1

Summary:

  • Fixed #​1656 #​1657 Russian and Ukrainian declensions
  • Added #​1658 Bengali numbers
  • Fixed #​1663 Czech LLL format
  • Added #​1664 Turkmen ago/from now/before/after translations
  • Added #​1665 Add Standard Moroccan Tamazight translations
  • Fixed #​1667 createFromFormat() to match native implementation when using test now

v2.16.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.15.0...2.16.0

Summary:

  • Added ago() alias
  • Added timespan() method
  • Added createFromIsoFormat() (like createFromFormat but with format of ->isoFormat() method)
  • Added createFromLocaleFormat() (like createFromFormat but with string in any language)
  • Added createFromLocaleIsoFormat (like createFromFormat but with format of ->isoFormat() method and string in any language)
  • Updated locale() can now take fallback locales as rest parameters
  • Added parseFromLocale() translate a string from a given language to English then parse it to create a date
  • Added rawFormat() always call the native PHP DateTime format() method
  • Updated format() can now be customized at object level via settings() or globally by sub-class
  • Added rawParse() always call the native PHP DateTime parse() method
  • Updated parse() can now be customized by sub-class
  • Added rawCreateFromFormat() always call the native PHP DateTime createFromFormat() method
  • Updated createFromFormat () can now be customized by sub-class

v2.15.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.14.2...2.15.0

Summary:

  • Added languages and regions: af_NA, agq, ar_DJ, ar_EH, ar_ER, ar_IL, ar_KM, ar_MR, ar_PS, ar_SO, ar_TD, asa, az_Cyrl, az_Latn, bas, bez, bo_IN, bs_Cyrl, bs_Latn, ca_AD, ca_ES_Valencia, ca_FR, ca_IT, ccp, ccp_IN, cgg, cu, da_GL, dav, de_LI, dje, dua, dyo, ebu, ee, ee_TG, en_001, en_150, en_AI, en_AS, en_AT, en_BB, en_BE, en_BI, en_BM, en_BS, en_BW, en_BZ, en_CC, en_CH, en_CK, en_CM, en_CX, en_DE, en_DG, en_DM, en_ER, en_FI, en_FJ, en_FK, en_FM, en_GD, en_GG, en_GH, en_GI, en_GM, en_GU, en_GY, en_IM, en_IO, en_ISO, en_JE, en_JM, en_KE, en_KI, en_KN, en_KY, en_LC, en_LR, en_LS, en_MG, en_MH, en_MO, en_MP, en_MS, en_MT, en_MU, en_MW, en_MY, en_NA, en_NF, en_NL, en_NR, en_NU, en_PG, en_PK, en_PN, en_PR, en_PW, en_RW, en_SB, en_SC, en_SD, en_SE, en_SH, en_SI, en_SL, en_SS, en_SX, en_SZ, en_TC, en_TK, en_TO, en_TT, en_TV, en_TZ, en_UG, en_UM, en_US_Posix, en_VC, en_VG, en_VI, en_VU, en_WS, en_ZW, es_BR, es_BZ, es_CU, es_EA, es_GQ, es_IC, es_PH, ewo, fa_AF, ff_CM, ff_GN, ff_MR, fo_DK, fr_BF, fr_BI, fr_BJ, fr_BL, fr_CD, fr_CF, fr_CG, fr_CI, fr_CM, fr_DJ, fr_DZ, fr_GA, fr_GF, fr_GN, fr_GP, fr_GQ, fr_HT, fr_KM, fr_MA, fr_MC, fr_MF, fr_MG, fr_ML, fr_MQ, fr_MR, fr_MU, fr_NC, fr_NE, fr_PF, fr_PM, fr_RE, fr_RW, fr_SC, fr_SN, fr_SY, fr_TD, fr_TG, fr_TN, fr_VU, fr_WF, fr_YT, gsw, gsw_FR, gsw_LI, guz, ha_GH, ha_NE, haw, hr_BA, ii, in, it_SM, it_VA, iw, jgo, jmc, kam, kde, kea, khq, ki, kkj, kln, ko_KP, ksb, ksf, ksh, lag, lkt, ln_AO, ln_CF, ln_CG, lrc, lrc_IQ, lu, luo, luy, mas, mas_TZ, mer, mgh, mgo, mo, ms_BN, ms_SG, mua, mzn, naq, nb_SJ, nd, ne_IN, nl_BQ, nl_CW, nl_SR, nl_SX, nmg, nnh, nus, nyn, om_KE, pa_Arab, pa_Guru, prg, pt_AO, pt_CH, pt_CV, pt_GQ, pt_GW, pt_LU, pt_MO, pt_MZ, pt_ST, pt_TL, qu, qu_BO, qu_EC, rn, ro_MD, rof, ru_BY, ru_KG, ru_KZ, ru_MD, rwk, saq, sbp, se_FI, se_SE, seh, ses, sg, shi, shi_Latn, shi_Tfng, smn, sn, sq_MK, sq_XK, sr_Cyrl_BA, sr_Cyrl_XK, sr_Latn, sr_Latn_BA, sr_Latn_XK, sv_AX, sw_CD, sw_UG, ta_MY, ta_SG, teo, teo_KE, tr_CY, twq, uz_Arab, uz_Cyrl, vai, vai_Latn, vai_Vaii, vo, vun, xog, yav, yo_BJ, yue_Hans, yue_Hant, zgh, zh_Hans, zh_Hans_HK, zh_Hans_MO, zh_Hans_SG, zh_Hant, zh_Hant_HK, zh_Hant_MO
  • Fixed #​1635 before/after translation in Portuguese
  • Fixed languages inheritance from language to regions
  • Fixed #​1636 translate few seconds in German
  • Fixed #​1638 abbreviated words in Russian
  • Fixed #​1640 add short unit and meridiem for Spannish
  • Fixed #​1641 Unify de and de_AT
  • Fixed #​1642 Lowercase days in Portuguese
  • Fixed #​1642 Lowercase days in Uzbek
  • Added #​1639 Italian period translations
  • Fixed #​1652 Italian short day unit
  • Fixed ISO week methods
  • Fixed #​1650 addRealMicrosecond() with low float precision
  • Fixed #​1651 Milliseconds handling in total()

v2.14.2

Compare Source

Complete commits list: briannesbitt/Carbon@2.14.1...2.14.2

Summary:

v2.14.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.14.0...2.14.1

Summary:

v2.14.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.13.0...2.14.0

Summary:

  • Fixed #​1600 pt_BR "a few seconds" is "alguns segundos"
  • Fixed #​1606 Add spaces in short syntax
  • Fixed #​1602 Use consistent short months notation
  • Fixed #​1603 Add aUnit option for seconds in Japanese
  • Fixed #​1604 use the scientist unit when possible
  • Implemented #​1598 Handle alternative digits
  • Fixed #​1612 Add en_SG
  • Fixed formats and unit translations
  • Added new locales/regions from glibc and rails-i18n: aa, aa_DJ, aa_ER, aa_ER@saaho, aa_ET, af, af_ZA, agr, agr_PE, ak, ak_GH, am, am_ET, an, an_ES, anp, anp_IN, ar, ar_AE, ar_BH, ar_DZ, ar_EG, ar_IN, ar_IQ, ar_JO, ar_KW, ar_LB, ar_LY, ar_MA, ar_OM, ar_QA, ar_SA, ar_SD, ar_SS, ar_SY, ar_Shakl, ar_TN, ar_YE, as, as_IN, ast, ast_ES, ayc, ayc_PE, az, az_AZ, az_IR, be, be_BY, be_BY@latin, bem, bem_ZM, ber, ber_DZ, ber_MA, bg, bg_BG, bhb, bhb_IN, bho, bho_IN, bi, bi_VU, bm, bn, bn_BD, bn_IN, bo, bo_CN, br, br_FR, brx, brx_IN, bs, bs_BA, byn, byn_ER, ca, ca_ES, ce, ce_RU, chr, chr_US, cmn, cmn_TW, crh, crh_UA, cs, cs_CZ, csb, csb_PL, cv, cv_RU, cy, cy_GB, da, da_DK, de, de_AT, de_BE, de_CH, de_DE, de_IT, de_LU, doi, doi_IN, dsb, dsb_DE, dv, dv_MV, dz, dz_BT, el, el_CY, el_GR, en, en_AG, en_AU, en_CA, en_CY, en_DK, en_GB, en_HK, en_IE, en_IL, en_IN, en_NG, en_NZ, en_PH, en_SG, en_US, en_ZA, en_ZM, eo, es, es_419, es_AR, es_BO, es_CL, es_CO, es_CR, es_DO, es_EC, es_ES, es_GT, es_HN, es_MX, es_NI, es_PA, es_PE, es_PR, es_PY, es_SV, es_US, es_UY, es_VE, et, et_EE, eu, eu_ES, fa, fa_IR, ff, ff_SN, fi, fi_FI, fil, fil_PH, fo, fo_FO, fr, fr_BE, fr_CA, fr_CH, fr_FR, fr_LU, fur, fur_IT, fy, fy_DE, fy_NL, ga, ga_IE, gd, gd_GB, gez, gez_ER, gez_ET, gl, gl_ES, gom, gom_Latn, gsw_CH, gu, gu_IN, gv, gv_GB, ha, ha_NG, hak, hak_TW, he, he_IL, hi, hi_IN, hif, hif_FJ, hne, hne_IN, hr, hr_HR, hsb, hsb_DE, ht, ht_HT, hu, hu_HU, hy, hy_AM, i18n, ia, ia_FR, id, id_ID, ig, ig_NG, ik, ik_CA, is, is_IS, it, it_CH, it_IT, iu, iu_CA, ja, ja_JP, jv, ka, ka_GE, kab, kab_DZ, kk, kk_KZ, kl, kl_GL, km, km_KH, kn, kn_IN, ko, ko_KR, kok, kok_IN, ks, ks_IN, ks_IN@devanagari, ku, ku_TR, kw, kw_GB, ky, ky_KG, lb, lb_LU, lg, lg_UG, li, li_NL, lij, lij_IT, ln, ln_CD, lo, lo_LA, lt, lt_LT, lv, lv_LV, lzh, lzh_TW, mag, mag_IN, mai, mai_IN, me, mfe, mfe_MU, mg, mg_MG, mhr, mhr_RU, mi, mi_NZ, miq, miq_NI, mjw, mjw_IN, mk, mk_MK, ml, ml_IN, mn, mn_MN, mni, mni_IN, mr, mr_IN, ms, ms_MY, mt, mt_MT, my, my_MM, nan, nan_TW, nan_TW@latin, nb, nb_NO, nds, nds_DE, nds_NL, ne, ne_NP, nhn, nhn_MX, niu, niu_NU, nl, nl_AW, nl_BE, nl_NL, nn, nn_NO, no, nr, nr_ZA, nso, nso_ZA, oc, oc_FR, om, om_ET, or, or_IN, os, os_RU, pa, pa_IN, pa_PK, pap, pap_AW, pap_CW, pl, pl_PL, ps, ps_AF, pt, pt_BR, pt_PT, quz, quz_PE, raj, raj_IN, rm, ro, ro_RO, ru, ru_RU, ru_UA, rw, rw_RW, sa, sa_IN, sah, sah_RU, sat, sat_IN, sc, sc_IT, scr, sd, sd_IN, sd_IN@devanagari, se, se_NO, sgs, sgs_LT, sh, shn, shn_MM, shs, shs_CA, si, si_LK, sid, sid_ET, sk, sk_SK, sl, sl_SI, sm, sm_WS, so, so_DJ, so_ET, so_KE, so_SO, sq, sq_AL, sr, sr_Cyrl, sr_Cyrl_ME, sr_Latn_ME, sr_ME, sr_RS, sr_RS@latin, ss, ss_ZA, st, st_ZA, sv, sv_FI, sv_SE, sw, sw_KE, sw_TZ, szl, szl_PL, ta, ta_IN, ta_LK, tcy, tcy_IN, te, te_IN, tet, tg, tg_TJ, th, th_TH, the, the_NP, ti, ti_ER, ti_ET, tig, tig_ER, tk, tk_TM, tl, tl_PH, tlh, tn, tn_ZA, to, to_TO, tpi, tpi_PG, tr, tr_TR, ts, ts_ZA, tt, tt_RU, tt_RU@iqtelif, tzl, tzm, tzm_Latn, ug, ug_CN, uk, uk_UA, unm, unm_US, ur, ur_IN, ur_PK, uz, uz_Latn, uz_UZ, uz_UZ@cyrillic, ve, ve_ZA, vi, vi_VN, wa, wa_BE, wae, wae_CH, wal, wal_ET, wo, wo_SN, xh, xh_ZA, yi, yi_US, yo, yo_NG, yue, yue_HK, yuw, yuw_PG, zh, zh_CN, zh_HK, zh_MO, zh_SG, zh_TW, zh_YUE, zu, zu_ZA

v2.13.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.12.0...2.13.0

Summary:

  • Added regional aliases: af_ZA, bg_BG, bo_CN, br_FR, ca_ES, cs_CZ, cv_RU, cy_GB, da_DK, et_EE, eu_ES, fa_IR, fi_FI, fo_FO, ga_IE, gd_GB, gl_ES, gu_IN, he_IL, hi_IN, hr_HR, hu_HU, id_ID, is_IS, ja_JP, ka_GE, kk_KZ, km_KH, kn_IN, ko_KR, ku_TR, ky_KG, lb_LU, lo_LA, lt_LT, lv_LV, mi_NZ, mk_MK, ml_IN, mn_MN, mr_IN, mt_MT, my_MM, nb_NO, ne_NP, nn_NO, oc_FR, pl_PL, ps_AF, ro_RO, se_NO, si_LK, sk_SK, sl_SI, sq_AL, ss_ZA, te_IN, tg_TJ, th_TH, tr_TR, uk_UA, vi_VN, yo_NG
  • Allowed PHP 8
  • Fixed Breton formats and Norwegian mistakes
  • Added zh_MO, ga and it_CH locales
  • Added "aUnit" option for differences (forHumans/diffForHumans/from/to/fromNow/toNow/until/since) (to prefer "an hour" over "1 hour" if available in the current language and unit)

v2.12.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.11.0...2.12.0

Summary:

  • Added NL period language definitions and elk/elke variation
  • Added SK short units
  • Added list join in interval dump through period dump

v2.11.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.10.1...2.11.0

Summary:

  • Added support for symfony/translation ^3.4

v2.10.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.10.0...2.10.1

Summary:

  • Added getAvailableLocalesInfo() and Carbon\Language class
  • Fixed duplicate methods in PHPDoc

v2.10.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.9.1...2.10.0

Summary:

  • Allowed numeric (hour/minute offset) timezone as names
  • Added timezone conversions tools
  • Fixed isSameWeek and isCurrentWeek: now return true for a week containing a year change

v2.9.1

Compare Source

Complete commits list: briannesbitt/Carbon@2.9.0...2.9.1

Summary:

  • Fixed microseconds buggy gaps hour filler

v2.9.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.8.0...2.9.0

Summary:

  • Added join syntax in diff for humans such as "1 hour, 32 minutes and 45 seconds" (with customization and translated in the supported languages)
  • Added array-syntax for parameters in diff for humans methods
  • Added easy way to modify/add custom translations

v2.8.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.7.0...2.8.0

Summary:

  • Updated Norwegian translation
  • Added cast() method
  • Prepared symfony/translation transChoice deprecation using a single translation entry point
  • Fixed string ordinal translations
  • Fixed plural file syntax and include 0 in translations ranges
  • Propagated settings through instance() method
  • Propagated microseconds through shiftTimezone() method

v2.7.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.6.1...2.7.0

Summary:

  • Fixed character escaping in hasFormat
  • Fixed IDEs autodocumentation
  • Added Occitan translations for days, months and calendar
  • Updated cascade method to solve mixed unit signs

v2.6.1

Compare Source

Fixed sign addition to a negative interval

v2.6.0

Compare Source

Complete commits list: briannesbitt/Carbon@2.5.4...2.6.0

Summary:

  • Increased precision (to microsecond) for closest/farthest/average
  • Updated Croatian, Estonian and Portuguese languages
  • Add methods to add and subtract milliseconds
  • Add diffInMilliseconds

v2.5.4

[Com


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

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

Successfully merging this pull request may close these issues.

1 participant