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

134 Commits

Author SHA1 Message Date
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
Ricardo Rivera
6328e604ea fixed Warning in RRule->humanReadable() (#44)
* only LC_ALL in setlocale

[ Warning: Use of undefined constant LC_MESSAGES - assumed 'LC_MESSAGES' (this will throw an Error in a future version of PHP) in ...vendor\rlanvin\php-rrule\src\RRule.php on line 2340 ]

LC_MESSAGES is not available. It is available only if PHP was compiled with libintl.
use LC_ALL instead.
2018-02-27 10:32:52 +00:00
Edward Akerboom
758fcffe59 "Laastste" => "Laatste" (#46)
The former doesn't exist and is a typo
2018-02-21 17:35:18 +00:00
rlanvin
c543bda87d Release 1.6 2017-10-11 13:23:40 +01:00
ShoresOfNowhere
8049f629f4 Option to omit until part in humanreadable (#36) 2017-10-11 11:29:00 +01:00
rlanvin
d67a4bd27f Update travis.yml for PHP 5.3 2017-10-11 11:06:43 +01:00
Rémi Lanvin
df7ed5e15e Merge pull request #38 from marvinrabe/master
German Translation
2017-10-11 10:54:56 +01:00
Marvin Rabe
f8bbe9e642 German Translation 2017-10-10 22:39:25 +02: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
145c0817f7 Fix tests for PHP 5.6 and PHP 7.1
Fix bugs related to microseconds in PHP 7.1
2017-05-07 19:46:49 +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
031b5e78f1 Syntax fix for PHP 5.3 2017-04-11 17:12:14 +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
b0d91d3b2c Add composer.lock to gitignore and update README 2017-02-24 18:49:37 +00:00
Rémi Lanvin
9ec3132909 Merge pull request #30 from tjlytle/fix-readme-typo
Fixed typo in readme.
2017-02-23 10:28:42 +00:00
Tim Lytle
dd03dc4fc6 Fixed typo in readme. 2017-02-22 13:29:34 -05:00
rlanvin
8849ba38d5 Update changelog for release 1.4.1 2017-02-03 00:43:28 +02:00
rlanvin
0714c4b97d Fix test failing with PHP 5.3 2017-02-03 00:39:19 +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
Rémi Lanvin
5dc05264bb Merge pull request #23 from bkosborne/patch-1
Update exception message for UNTIL parse error
2017-01-22 20:21:52 +00:00
Brian
2b77002988 Update exception message for UNTIL parse error 2017-01-22 13:05:42 -05: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
472462e0bb Add comments 2017-01-06 16:03:00 +02:00
rlanvin
442f90cc72 Update README 2016-12-06 18:40:23 +02:00
rlanvin
23ab9322a7 Update README 2016-12-06 18:27:50 +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
1c1fb6753e Adding PHP 7.0 to Travis 2016-11-11 20:20:52 +02:00
rlanvin
dbcff3eb27 Fix a undefined index error in the RFC parser 2016-11-11 20:20:09 +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
30a3dad32a Comments and coding style 2016-08-31 15:35:01 +03:00
Rémi Lanvin
8b5ccbd330 Merge pull request #17 from william1616/master
Add getRule() method to return original rule array
2016-08-31 15:31:56 +03:00
=
5fbd1bf78c Add getRule() method to return original rule array 2016-08-28 17:51:58 +01:00
Rémi Lanvin
ebd3428314 Merge pull request #16 from toHero/master
Change values of FREQ when get the RFC string to match the convention
2016-08-19 14:20:36 +01:00