1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2024-11-28 05:24:10 +01:00
Commit Graph

180 Commits

Author SHA1 Message Date
Cédric Anne
d29a068795 Exclude files from dist package 2022-08-04 08:48:42 +02:00
rlanvin
2221e8cdac Fix #103 createFromRfcString forced uppercase 2022-05-03 15:11:22 +02:00
rlanvin
5ef9eedb5d Fix #104 remove microseconds from date input 2022-04-22 10:45:04 +02:00
rlanvin
a7d7f993e6 Update Changelog for release 2.3.0 2021-10-25 16:31:52 +02:00
Cédric Anne
30f9170f3a
Fix compatibility with PHP 8.1 (#100)
Use #[\ReturnTypeWillChange] to suppress deprecation warnings with PHP 8.1
Add PHP 8.1 to test matrix
2021-10-06 13:18:34 +02:00
rlanvin
f77c9644c6 Fix double space bugs with 'and' 2021-07-04 16:26:37 +02:00
roikedem
d118a932fc Add Hebrew translation
i18n add he, remove automatic space after "and"

add shortened weekdays names for lists
2021-07-04 16:24:41 +02:00
rlanvin
a6c8896894 Update examples rules in review_translations script 2021-07-04 16:23:13 +02:00
rlanvin
96cadb6100 Improve French translation 2021-07-04 16:22:55 +02:00
rlanvin
bd1a9f0648 Update the review_translations script 2021-07-04 12:45:15 +02:00
rlanvin
44a3fdc6f4 Update German translation 2021-07-04 12:34:33 +02:00
rlanvin
873ad948fa Fix Finnish translation
Fix #94
2021-07-04 12:32:28 +02:00
Eric Krona
4e1283c2d8 Corrected comment in translation file 2021-05-10 07:50:25 +02:00
Eric Krona
2af3718bfd Added swedish translation file + reviewTranslations.php example file 2021-05-07 14:59:35 +02:00
rlanvin
4e979ff9b1 Run tests on pull requests too 2021-01-09 14:20:09 +01:00
rlanvin
63b55000b4 Fix typos and update CHANGELOG for 2.2.2 2021-01-09 14:19:43 +01:00
Jean-Guilhem Rouel
cf4fc8e827 Fix getOccurrencesAfter when $inclusive is false and $limit is not set 2021-01-07 18:36:40 +01:00
rlanvin
dba3b916a5 Fix #90 Support for DateTimeImmutable 2020-12-09 23:13:35 +01:00
rlanvin
a14dd53090 Add tests for PHP 8.0 2020-12-09 23:01:45 +01:00
rlanvin
3036bf3df8 Replace TravisCI by Github Actions 2020-12-09 22:10:34 +01:00
rlanvin
228268803f Add support for PHP 7.4 2020-02-26 10:31:03 +01:00
rlanvin
f2cead618c Fix tests when ext-intl is not loaded 2020-02-24 17:39:41 +01:00
rlanvin
931d53d162 Release 2.2.0 2019-11-01 11:51:17 +00:00
rlanvin
2ed1d53333 Fix #78 RRule size limited to 1460 2019-11-01 11:48:41 +00:00
rlanvin
6332b7e44a Increase test code coverage 2019-10-05 01:41:13 +01:00
rlanvin
5a23f0e03b Remove Iterator interface implementation from RSet
Was replaced by IteratorAggregate interface in v2.0
2019-10-04 22:57:36 +01:00
rlanvin
4af70c3bd7 Replace static array variables with array constants 2019-09-01 20:11:52 +01:00
rlanvin
deed61e0c2 Remove unused code and fix outdated comments 2019-09-01 19:50:21 +01:00
rlanvin
e3d5f8c629 Add support for Windows timezone
Fix #69
2019-09-01 13:08:55 +01:00
rlanvin
77bb693fdd Update French translation 2019-09-01 11:54:29 +01:00
Amin Rezaei
e5e4eb9a79 Create fa.php
Persian (Farsi) Translation
2019-07-28 17:30:24 +02:00
rlanvin
c71d0f9251 Update CHANGELOG for new release 2019-01-15 05:31:37 +00:00
Maria Górska
197166a601 Fix locale format for i18n files 2019-05-04 12:02:59 +02:00
rlanvin
a5bda44f59 Remove space inside parenthesis to be closer to PSR-2 2019-01-14 13:09:43 +00:00
rlanvin
d7046ee3ce Update CHANGELOG 2019-01-14 13:09:04 +00:00
Ricky
58b9bd1115 Add remove/clear functions for ExDates and RDates (#66)
- Cleanup tests and comment
- Add removeExdate and clearExdates
- Add removeDate and clearDates for RDATEs
2019-03-17 10:45:34 +01:00
rlanvin
90af29e79b Add support for PHP 7.3 2019-01-14 02:04:42 +00:00
rlanvin
5e84e08893 Release 2.0.0-rc1 2019-01-13 16:48:29 +00:00
rlanvin
3d72c9efaf Add helpers methods
Ref #60
2019-01-13 13:44:01 +00:00
rlanvin
200b923c9e Add custom_path option to humanReadable
If the option is present, it'll first look for a file in this folder
before looking into the default folder.
Fix #56
2019-01-13 10:47:43 +00:00
rlanvin
7c93c0e48a Rewrite the core algorithm to use a generator
Drop compatibility with PHP < 5.6
Ref #43
2019-01-13 10:04:03 +00:00
rlanvin
1373df401e Release 1.6.3 2019-01-13 09:49:03 +00:00
David Stone
37873779e4 VALUE is a valid param of EXDATE (#62)
EXDATE rule like 'EXDATE;VALUE=DATE-TIME:20171227T200000Z'
Are valid according to the rfc but rejected because VALUE
param is not recognized.
2019-01-13 10:31:48 +01:00
David Stone
9fd853882c Fix error when timezone is an offset instead of an olson name. (#61)
* Fix error when timezone is an offset instead of an olson name.

intl returns the error "datefmt_create: no such time zone: '-05:00': U_ILLEGAL_ARGUMENT_ERROR"
if a DateTime object is passed as the second parameter into the RRule constructor.
IntlDateFormatter::create() needs the offset to be prefixed with GMT, go figure.
2019-01-13 10:29:25 +01:00
Dean Petty
9a4f2492b0 Typo fix
Just fixing a typo in a function description.
2018-10-20 08:33:39 +02:00
rlanvin
539bc228f0 Release 1.6.2 2018-08-17 15:56:53 +01:00
peter279k
8a3dd6d76a Test enhancement (#52) 2018-05-15 17:41:41 +01:00
rlanvin
157c266ce7 Fix #53 translation typo in NL 2018-05-15 17:40:27 +01:00
rlanvin
44b820dd1b Add PHP 7.2 to Travis and update changelog 2018-04-13 10:24:21 +01:00
Katy Ereira
39d229d0ce Null check to prevent 0 (false) values being lost. (#50) 2018-04-13 10:03:07 +01:00