188 Commits

Author SHA1 Message Date
Corie Slate
7679f92be8 Return class instance on setRDates and setExDates (#135) v3.0.3 2017-11-13 13:18:52 -05:00
Shaun Simmons
7d0e8942cb CS update v3.0.2 2017-08-03 19:25:58 -04:00
Shaun Simmons
c813b26be4 Stop infinite loop on yearly recursion w/ BYMONTH 2017-08-03 19:25:34 -04:00
foaly-nr1
74a4c5caba Add tests for all frequencies 2017-07-25 00:04:39 +01:00
foaly-nr1
81b7714e56 Failing test case using immutables 2017-07-20 11:38:59 +01:00
Jonny Schmid
5c57048a61 Full support for immutables (#123)
* Run ArrayTransformerConstraintTest with using either \DateTime or \DateTimeImmutable

* Full support for immutables
v3.0.1
2017-07-18 18:11:04 -04:00
Jonny Schmid
1da79d8629 Typehint \DateTimeInterface instead of \DateTime (#122)
* Typehint \DateTimeInterface instead of \DateTime. Resolves simshaun/recurr#84

* Bump required minimum PHP version to 5.5
v3.0
2017-07-14 11:50:31 -04:00
Shaun Simmons
7a6480d1b6 Fixing Travis error (PHP 5.3) 2017-05-05 18:06:58 -04:00
Brian Fenton
bf5039bca6 adding test for TZ_FIXED behavior of getString (#116) v2.2.3 2017-05-05 17:46:38 -04:00
Brian Fenton
bb18214adf updating docs to point to the new spec (#119) 2017-05-05 17:45:57 -04:00
Brian Fenton
6db602ea2c throw an exception on empty BYDAY, as per RFC (#120) 2017-05-05 17:45:26 -04:00
Brian Fenton
13b46cf3f7 Fix for for bysetpos transformation (#114)
* failing tests for bysetpos transformation
* adding missing throws annotation
* removing unused var
* fixing empty index error
* checking for empty daySet (throws E_WARNING < 5.4)
v2.2.2
2017-05-05 17:42:42 -04:00
Shaun Simmons
bd389bb6d3 Fixes #121 v2.2.1 2017-05-05 17:32:14 -04:00
Brian Fenton
6cb19ee64c Infinite rule check (#113)
* adding missing @throws annotation

* returning object from array loader (and string loader) to match interface

* updating docblock to match behavior

* removing unused temp var

* strlen will always return an int so === is safe

* adding method to check for infinite rule recurrence without having to build 732 and guess

* reverting back to long array syntax so the travis 5.3 build is happy
v2.2
2017-03-01 23:31:32 -05:00
RobinvdA
699a55524d Added index property to Recurrence (#110)
* Added an index property to Recurrence

* Added test for index

* Removed typehint

* Added intial index property
v2.1
2016-12-19 16:12:08 -05:00
Thomas P
c1b1c51090 Remove useless verification on transform (#109)
* Remove useless verification on transform

* Remove comment and unused exception
2016-12-19 16:10:41 -05:00
Shaun Simmons
bb2959f0c0 Fixes #106 v2.0 2016-12-01 19:45:26 -05:00
mmenzo
12a9530bd1 Fix the date format for the Dutch language (#102) v1.3 2016-12-01 00:34:46 -05:00
Barry vd. Heuvel
2d96579d14 Add chained example (#104) 2016-12-01 00:32:40 -05:00
Barry vd. Heuvel
abfcedd1b9 Add Recurrence[] typehint for ArrayTransformer (#105) 2016-12-01 00:28:31 -05:00
Barry vd. Heuvel
e4f84e9cf3 Add 7.1 to test (#107) 2016-12-01 00:13:11 -05:00
Adam Randlett
b213787ce9 Basic Spanish Translation (#100)
* Basic Spanish Translation

* added day_month function to es translation
v1.2
2016-09-22 14:01:47 -04:00
Jordi Boggiano
a2a518efa8 Account for start date in text transformer to make for clearer output (#101) v1.1 2016-09-21 15:49:35 -04:00
Shaun Simmons
78a0d8bcee Fix broken Travis, PHP 5.3 v1.0.1 2016-08-11 17:07:21 -04:00
Shaun Simmons
35d5cc9344 Minor tweak to README for v1 v1.0 2016-08-11 17:01:34 -04:00
Shaun Simmons
b51c6308a2 Throw exception if rrule with nth BYDAY and unsupported frequency v0.6.4 2016-08-11 15:48:47 -04:00
Efiware
882684a977 Danish translation (#97)
* Added Danish translation

* changes da translation
v0.6.3
2016-07-28 14:16:49 -04:00
Marco Wansinck
9839002cf9 Added dutch language (#96)
* Added dutch language
* Update nl.php
v0.6.2
2016-07-06 14:49:34 -04:00
Shaun
4d875b0237 Merge pull request #82 from dragosprotung/master
Added PHP 5.6 & 7.0 to travis build
2016-02-22 12:40:00 -05:00
Dragos Protung
d76a600474 Added PHP 5.6 & 7.0 to travis build 2016-02-22 12:48:04 +01:00
simshaun
53c1ddacc7 Cleanup & improve 2015-12-10 05:27:22 -05:00
simshaun
fcf266c87a Fix README regarding virtual limit 2015-12-10 05:12:31 -05:00
Shaun
d8fc4aa726 Merge pull request #76 from emnsen/patch-1
Turkish translation
v0.6.1
2015-12-10 04:55:26 -05:00
Grégoire Compagnon
3e0756b33d Better french translation 2015-12-10 04:53:02 -05:00
Emin Şen
2a82027dbf Turkish translation
added Turkish translation
2015-12-10 11:36:20 +02:00
simshaun
854ca44152 BC break - Move virtualLimit to ArrayTransformerConfig v0.6 2015-12-10 04:35:03 -05:00
simshaun
1605cb57c7 Support for RDATE v0.5.1 2015-12-10 04:20:07 -05:00
simshaun
5aa1b3574b By default, dates that fail transformation constraints will now count towards a Rule's COUNT limit.
This behavior may be controlled via a new argument added to ArrayTransformer::transform
v0.5
2015-12-10 02:55:16 -05:00
simshaun
582566f504 Fixes #75 v0.4.9 2015-12-10 01:23:47 -05:00
Shaun
9bfc90a941 Merge pull request #72 from wilerson/master
Added Brazilian Portuguese translation.
2015-11-04 02:50:41 -05:00
Wilerson
a25e0a0eb8 Added Brazilian Portuguese translation. 2015-11-03 13:46:56 -02:00
Shaun
202c067b73 Merge pull request #70 from Johke/master
Added Swedish translation
v0.4.8
2015-10-01 02:06:14 -04:00
Jocke Hising
28a687f11d Added Swedish translation 2015-09-08 11:23:03 +02:00
simshaun
8e435cc2de Rule::getString no longer contains WKST unless it was explicitly defined v0.4.7 2015-07-05 14:30:53 -04:00
inghamn
b22e499b41 Merges #66 & Fixes #37 2015-07-05 14:21:41 -04:00
simshaun
80cf83b964 Upgrade Doctrine collections v0.4.5 2015-07-05 00:14:45 -04:00
Shaun
d1db5f3981 Merge pull request #61 from Seldaek/translations2
Improve translations quality
v0.4.4
2015-05-05 17:55:24 -04:00
Jordi Boggiano
6b3307c3af Improve translations quality, added support for negative ordinals and added a full translation test suite 2015-05-04 17:07:03 +01:00
Shaun
7996a50336 Merge pull request #53 from agonirena/master
basque translation file added
2015-01-09 23:19:17 -05:00
Shaun
be7de6ad27 Merge pull request #54 from insiders/feature/leapyearbug
Fix for leapyearbug test
v0.4.3
2015-01-09 23:12:32 -05:00