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

54 Commits

Author SHA1 Message Date
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
c71d0f9251 Update CHANGELOG for new release 2019-01-15 05:31:37 +00:00
rlanvin
d7046ee3ce Update CHANGELOG 2019-01-14 13:09:04 +00: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
rlanvin
539bc228f0 Release 1.6.2 2018-08-17 15:56:53 +01:00
rlanvin
44b820dd1b Add PHP 7.2 to Travis and update changelog 2018-04-13 10:24:21 +01:00
rlanvin
c543bda87d Release 1.6 2017-10-11 13:23:40 +01:00
rlanvin
d67a4bd27f Update travis.yml for PHP 5.3 2017-10-11 11:06:43 +01:00
rlanvin
fa48bc4fa2 Fix typo in variable name
Fix #34
2017-05-15 10:14:37 +01:00
rlanvin
c220aee917 Throw exception when passing float instead of int
e.g. INTERVAL=1.5
Before, it used to cast it silently
2017-05-09 17:02:03 +01:00
rlanvin
cdc95d51c9 Release 1.5 2017-05-07 20:33:11 +01:00
rlanvin
e2f42382d4 Add $dtstart optional arg when creating from a string 2017-05-06 13:37:26 +01:00
rlanvin
7437503a73 Add $limit to getOccurrences and getOccurencesBetween 2017-05-06 13:37:21 +01:00
rlanvin
59d9226618 Rename 'dtsart' option to 'include_start' in humanReadable 2017-04-11 16:55:46 +01:00
rlanvin
67d4a5dc98 Refactor RFC string parsing
Add the possibility to construct a RSet from a string
Ref #26
2017-04-11 16:44:50 +01:00
rlanvin
a6d01f4036 Make RFC parser more strict 2017-04-11 14:20:42 +01:00
rlanvin
9b4681793d Add explicit_infinite and dtstart options to humanReadable 2017-04-11 11:20:20 +01:00
rlanvin
4ca0c62e0a Update travis.yml for php 7 and 7.1 2017-03-29 15:06:47 +01:00
rlanvin
51c7c5c56d Fix bug in RFC parser generating a invalid timezone
strtoupper() was creating invalid timezone, which would make
humanreadable() fail.
2017-03-29 14:20:00 +01:00
rlanvin
8849ba38d5 Update changelog for release 1.4.1 2017-02-03 00:43:28 +02:00
rlanvin
c29db6270e Refactor i18nLoad to attept to solve #24
- Rework `RRule::i18nLoad()` to accept locales such as `en_sg` and use `Locale::parseLocale` when possible
- Fix `humanReadable` fails with `intl` enable when the timezone is "Z"
2017-02-03 00:35:09 +02:00
rlanvin
0b3a2c9a32 Fix #25
- Fix parser handling of UNTIL when DTSTART is not provided
- Accept invalid RFC strings generated by the JS lib but triggers a Notice message
2017-02-02 19:30:10 +02:00
rlanvin
26d147b729 Update changelog 2017-01-22 22:25:38 +02:00
rlanvin
8d54335802 Add tests 2017-01-06 16:42:00 +02:00
rlanvin
0785c6ce7d Make offsetGet throw exception for illegal offset
Ref issue #22
2017-01-06 16:30:35 +02:00
rlanvin
3e704960df Update changelog (again) 2016-11-11 20:44:31 +02:00
rlanvin
7ea89379a0 Update changelog 2016-11-11 20:43:55 +02:00
rlanvin
96d5ca4166 Release 1.4
Ref #18
2016-11-11 20:38:59 +02:00
rlanvin
9b8986b954 Add getter methods to RSet 2016-08-31 15:56:39 +03:00
rlanvin
cd3e8db2ac Updated changelog 2016-08-31 15:35:15 +03:00
rlanvin
989ddb9d9d Release 1.3.1 2016-08-09 15:13:42 +03:00
rlanvin
7c041bfb42 Fix a bug in BYDAY
Fixed a bug when combining values with an integer modifier
and regular values in `BYDAY` (example `1MO,FR`)
2016-07-13 11:08:46 +03:00
rlanvin
cef4c34148 Release 1.3.0 2016-07-08 12:04:09 +03:00
rlanvin
34a282746a Updating CHANGELOG 2016-06-30 17:01:32 +03:00
rlanvin
33fe88ff9e Release 1.2.0 2016-04-09 18:37:43 +03:00
Gustavs Gūtmanis
4857e38d44 Adding support for fallback locale. 2016-04-03 16:41:30 +03:00
rlanvin
20c3390187 Updating changelog 2016-03-31 15:47:39 +03:00
rlanvin
8470c6e509 Release 1.1.0 2016-03-30 12:19:05 +03:00
rlanvin
3a84bcc6be Fix cache related bug at weekly frequencies 2016-03-24 09:23:11 +02:00
rlanvin
ea059ca381 Removing occursOn (use occursAt) 2016-03-23 17:36:06 +02:00
rlanvin
65886d99a2 Making sure DateTime objects are cloned
To avoid problems with cache corruption because DateTime are mutable
2016-03-23 16:00:40 +02:00
rlanvin
85d349f438 Updating CHANGELOG 2016-03-23 12:07:50 +02:00
rlanvin
76e6698b51 Updating CHANGELOG and README 2016-03-23 12:04:41 +02:00