Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/briannesbitt/Carbon

A simple PHP API extension for DateTime.
https://github.com/briannesbitt/Carbon

cs language

Source: laravel-date

a45f24dd7259de9789567e7733e8e09853c219f8 authored almost 10 years ago
ca language

Source: laravel-date

04d93574d14f68ed94107b9f1b336ccdbffd4a67 authored almost 10 years ago
bg language

Source: laravel-date

7180e93f53b677a25a156a7a04195d274357a000 authored almost 10 years ago
Cleanup comments

7881f8a49aae4baccdb10181eaf0a89a068284b0 authored almost 10 years ago
ar language

Source: laravel-date

66d26e34e3540461440b3340f7e68790d3e124e2 authored almost 10 years ago
Added simple tests for it and de.

8918577da103c6d96cc07e5fbc8537f39d75139d authored almost 10 years ago
Merge pull request #262 from sebathi/localized

es (spanish) translation for localised branch

dd1fb9f52d0c8950e96c8cda13166a29f84d6556 authored almost 10 years ago
Merge pull request #265 from flinux/localized

italian translation

11662a344061c5de9b9d0f120cadb59510a043a7 authored almost 10 years ago
Merge pull request #258 from hohl/localized

added German translation files to localized branch

6730ce30ecf1feacc41f4dd02da1077f9d223225 authored almost 10 years ago
Added a localized CarbonInterval class (needs work but passes a few initial tests... should be quick to clean up!!).

552017d416c056f36955162440b5e9da495c6a7a authored almost 10 years ago
updated localization test

4844288cd839e1813948caf406c700d195c13a06 authored almost 10 years ago
No need for that temp var now.

d410d423feb449763793d92de071496451d7fe63 authored almost 10 years ago
Merge pull request #260 from kylekatarnls/patch-5

Ternary expression

7a07b1ab1b862433e08bb8868eee5f69a4bed6cc authored almost 10 years ago
italian translation

120bd2f8fee2380e00c201adceef05456d85e797 authored almost 10 years ago
Also fix french translation for utf-8 file encoding

2314efd1ba220e5c1689d08c3d6e5718ea072407 authored almost 10 years ago
updated tests

3d7b5c376e9c7da8e6db5d1f803606411f0446e3 authored almost 10 years ago
updated file encoding ad tests

e37efed985b2b7afae9e1a147c6a9e33010f6cac authored almost 10 years ago
updated from_now spanish translation

62e85e6aad0be46d5c7f81ac5065492fed48ac7d authored almost 10 years ago
Revert "no message"

This reverts commit 39ef1d5ec6d3a48a29e0adf40fb50f8f1651c301.

d890594acb448d1a31831eced951e3f4906b902e authored almost 10 years ago
no message

39ef1d5ec6d3a48a29e0adf40fb50f8f1651c301 authored almost 10 years ago
Added localisation tests for spanish

9dfa38f1f1b4c7ab95ea5accde91704922f30b4b authored almost 10 years ago
es (spanish) translation for localised branch

0e615f139a4ebeec70491c5f559a33ad14d95a74 authored almost 10 years ago
Ternary expression

If you use ternary expression, it can be two in one.

0f13876184f8c1ec16732e03d68ec024b4281020 authored almost 10 years ago
Simplified if / else and translator call.

a789ed4446c56a5b9cbc322dc7d01845ec969163 authored almost 10 years ago
Change it back to int cast. floor(-5.1) vs (int)-5.1 are different.

44c3454f2c400f89d1e6e0f1227c6ea7c47b043c authored almost 10 years ago
added German translation files

dcced3e5aa34af16c88bd53b94acac031cfb27de authored almost 10 years ago
Simple diffForHumans() localization based on symfony translation.

fcacc6c3e33c17d6663eb08020c0451fcffd96ef authored almost 10 years ago
diffForHumans() more accurate (relies on diff()). Handles daylight savings time and shorter months much better.

40bdb49d907083d6d222ec15075813f05c299b28 authored almost 10 years ago
intendation

14b0bdc9fac96132bc00cd3aadfe9e95c0d1c5c6 authored almost 10 years ago
spelling: SUBSTRACTIONS => SUBTRACTIONS

b44d7bf324ded5b9fa614590ba2e8a104c4a6b44 authored almost 10 years ago
fix intendation

888309311bdfcb8ffd88e77573047b43c27a9f9b authored almost 10 years ago
diffInMonths: explicit convert string to int before calculation

bf7785282137d72926b59f091051381a7eee388b authored almost 10 years ago
spelling: occurance => occurence

dfc3f34b94d02d9e6bf0ea06cbcf11385962898a authored almost 10 years ago
Merge pull request #253 from lucasmichot/psr2

Some PSR-2 fixes

07210d7e01193e04a86872aba1424aab609a6b20 authored almost 10 years ago
Some PSR-2 fixes

7637e843ef1d95602a5a09594d17955618978673 authored almost 10 years ago
Merge branch 'barryvdh-patch-1'

8242b9260aa02321cbc8ba4f2a17bcd5f52726d2 authored almost 10 years ago
Merge branch 'patch-1' of https://github.com/barryvdh/Carbon into barryvdh-patch-1

Conflicts:
src/Carbon/Carbon.php

a5242b10b74b4c719e53ef4823f9d5860aa547d1 authored almost 10 years ago
Merge pull request #213 from lucasmichot/assert2

Update some tests

17c907c3257130aab22b0e38024d349ab9899d05 authored almost 10 years ago
Merge pull request #212 from lucasmichot/safeCreateDateTimeZone

Let safeCreateDateTimeZone handles null tz

e852473391e186c654d64caed50263a09cba5f94 authored almost 10 years ago
Merge pull request #210 from lucasmichot/useless-functions

Remove setdate and settime

49b8e52ece4877efad7d0e78f9c6ec5c21ca0391 authored almost 10 years ago
Merge branch 'lucasmichot-static'

69caa4105504ea719c7a96b2d013b37e5194c97d authored almost 10 years ago
Merge branch 'static' of https://github.com/lucasmichot/Carbon into lucasmichot-static

Conflicts:
src/Carbon/Carbon.php

d6b143bcf4fe7ad463dcf6d246dd3536dc091cf7 authored almost 10 years ago
Merge branch 'lucasmichot-psr'

e843be5da89289cb90cb52f93e8a0056115bad44 authored almost 10 years ago
Merge branch 'psr' of https://github.com/lucasmichot/Carbon into lucasmichot-psr

Conflicts:
src/Carbon/Carbon.php

dfcbc812e78c9a07bdbe90dba901bccd7128d3d5 authored almost 10 years ago
Merge branch 'lucasmichot-optmize-birthday'

412a7e41733200359f4f482bcfe2d07db5d6cd82 authored almost 10 years ago
Merge branch 'optmize-birthday' of https://github.com/lucasmichot/Carbon into lucasmichot-optmize-birthday

Conflicts:
src/Carbon/Carbon.php

018d1864f3e8a904b761728780c6e486cc37931b authored almost 10 years ago
Update homepage.

1420c1e6640783b44b4a4161eee39e2e6a6b68ef authored almost 10 years ago
Shorter readme. Just visit the new site !

2d200201fa7951ff5d144723ab049b50b4e4ed07 authored almost 10 years ago
Launch carbon.nesbot.com.

e7bed279d172a617187eef60a156a6dbf8b70b96 authored almost 10 years ago
Updated history for new version.

bb87460c995d97fe55b39e65f6ffb7f64b0a941e authored almost 10 years ago
Moved helpers with difference section. Reran readme.

1cd31c0d47f575021d81926bd448d2e0681a99c2 authored almost 10 years ago
Merge pull request #206 from RyanNielson/added_secondssincemidnight_and_secondsuntilendofday

Added secondsSinceMidnight and secondsUntilEndOfDay helper methods

f9f964278bf9236be8489cfa28bcdd5fd6924246 authored almost 10 years ago
Merge pull request #205 from php-workx/master

timezone support for method formatLocalized

3ca0b0837d2b2ffa87ea6ad2390ca5c48dcad190 authored almost 10 years ago
Reran readme.

86337a8be2cfb9f45bb42bbc3006e62dcadf98d9 authored almost 10 years ago
Merge pull request #204 from rdohms/patch-1

Updating README

87ae6c4788efd73f15b0db85bab00b7b634e8810 authored almost 10 years ago
Merge pull request #203 from tunaabutbul/master

Use a switch (true) for shorter __get method.

ea7151d7b38c76db864e21b178bb783c1bd1c0a1 authored almost 10 years ago
Fixed test. Reran docs.

fa126ad2e61bf548532b0c4776c2541f0f4b736f authored almost 10 years ago
Merge pull request #230 from smazurov/patch-1

Added optional 2nd parameter to diffForHumans

46a575b4716f5c1f6090a6335378e9c60843ea0a authored almost 10 years ago
Fix php doc. Current implementation max is 5.

6be625b0ce02dbedbe7283075d68b8fbf139ddc2 authored almost 10 years ago
Updated tests to work when in a shorter month.

35a8ed2e0d3a1391583833541557fed166162429 authored almost 10 years ago
Merge pull request #239 from tshelburne/month-no-overflow

Add / Subtract months with no overflow

b264218dff8c63a130258295baab77f17acc4d8e authored almost 10 years ago
Added methods for adding months with no overflow

1512f6352bcbb6b5f5ea027d43a304af83453a27 authored about 10 years ago
Applying fix in tests to get them passing - see Issue #237

6d3b000eda3a1992bb2b136452ba7638eb2bc443 authored about 10 years ago
Add test for yearIso

d5d280100ac357301779060e99cbc17253306e95 authored about 10 years ago
Add yearIso property

To get the ISO-8601 year number.

0a29ee2f848b5f933c2e90489a4293e26ebd44bf authored about 10 years ago
revert readme.md changes.

3cb20219c1846eaef92b5d33e26ee1afc5845a52 authored about 10 years ago
added @param to the docBlock

1264a1572a8857e1d1936d3b01259ac1096b8812 authored about 10 years ago
Added optional 2nd parameter to diffForHumans to remove relative modifier

When set to true, it modifies the string to only contain the
human-readable time difference by o...

7f2b9f779263bbbeb93c929c111b32d238c96cf0 authored about 10 years ago
Added function diffInHoursFiltered to filter a Date period by hours

1053c795353ad17485eb8a4ebb04fb2b23ea6100 authored about 10 years ago
Added secondsSinceMidnight and secondsUntilEndOfDay helper methods

e856b0acb1c871c9d7b6c898f73590b9ef8c72df authored about 10 years ago
Change some tests

6fa724192306f58c194b20d75ae8d8bf3891f1fc authored about 10 years ago
Let safeCreateDateTimeZone handles null tz

c864dafe384952410104ad2e9bcc60d91186b6f7 authored about 10 years ago
Update __set

9c54489b09adb64ad2706eddee6d4991d62f8236 authored about 10 years ago
Add instance tests

d18f0cb709837bdb024035103531cfba6f55cdd7 authored about 10 years ago
Added chaining tests

a11818f5967ae057c3b6905a5acc7490feb57437 authored about 10 years ago
Remove setdate and settime

874d1982fd1377e6fa615bcf408c219914917f1d authored about 10 years ago
Use strict comparison

deea9422401da8f33478b8bf057e15ae5779628b authored about 10 years ago
Use static

e02295db2893c93d7c4b059ab49a6060576876b5 authored about 10 years ago
Minot PSR fix

2d5d273cf2ffe88abe9b9cf98b31d146710505b8 authored about 10 years ago
Optimize birthday

9eaa898b2bad616766a3d7120f0efe1bb6635299 authored about 10 years ago
fixed intentation issue

e282ad48fdb1f318607d866c56f8b7686e5f3181 authored over 10 years ago
formatLocalized now respects the timezone assigned to date object

4e84da18481a1bd9b385c4e2ad5dfcfa994d98e0 authored over 10 years ago
Update Carbon.php

69eb053be57467638c88d85ed0b353fe008671c6 authored over 10 years ago
Updating README

Added a bit more information to the install procedure, since it was using an uppercase `Carbon` ...

ebd417031294e3af9055cacffa61dba1da82c53b authored over 10 years ago
Update Carbon.php

5538ee2942ca306fcb7605db622db5f9aeffffcd authored over 10 years ago
Update Carbon.php

e24ef5c6c048dfd3ebb8178c5f22908fc53ec05b authored over 10 years ago
Moved isBirthday docs.

6ed6c63f592b3adf2298f2ddc241db6b9191ad59 authored over 10 years ago
Simplified isBirthday(). Updated readme.

644dd15e5027b948697b6538c84cfe9f2d785415 authored over 10 years ago
Merge pull request #193 from gayanhewa/is_birthday

Adding isBirthday function to Carbon date comparison

078aa08143be50b83e0ccf0678d843d25ffafcba authored over 10 years ago
Merge pull request #195 from lucasmichot/assert

Use assertSame

bc750f6d9aea4140290652dabac01f4910c4834a authored over 10 years ago
Update Carbon.php

Adding strict comparisons for the month/day checks.

67adf0e7903b5c0f72d5fcc8bc9f80a1d4f185ce authored over 10 years ago
Use assertSame

c61b5116e75371c79bc582548ec761f645f435aa authored over 10 years ago
Adding isBirthday function to Carbon date comparison

e06bf5ecc6d3083adc7802491698bd9009c8b431 authored over 10 years ago
Next version

5cb6e71055f7b0b57956b73d324cc4de31278f42 authored over 10 years ago
Next version.

386c5d5771eac33e31d8d268310df5355da886cf authored over 10 years ago
Fixed diffInDaysFiltered() to not jump the parameter date to the end of the day. Fixed tests to not test against 1 (ie. Monday) but use the Carbon const for Sunday. Assert values were wrong which covered up the issue.

06e3f4a8c18b90b5474f41bfd116ad70c34e4aa2 authored over 10 years ago
Killed alignment.

ff0db0c2613e43115a8c459531fb081e54f09329 authored over 10 years ago
Merge pull request #191 from lucasmichot/alignment-lb-tests

Tests : fix alignments and line breaks

43f4e653b7b9b7b40fbab71061a80a4a1c5cfe9d authored over 10 years ago
Merge pull request #190 from lucasmichot/alignment-fix

Array alignment fix

d55cff1d0622a7c3a20abd5fe9a807d4263a00f7 authored over 10 years ago
Merge pull request #189 from lucasmichot/doc-alignment

Fix docblock alignment

c13cee9a18f29542dd7b539a4ebfeece64c39b52 authored over 10 years ago