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

189 Commits

Author SHA1 Message Date
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
Antoine Chabert
d7acacad6a Add tests to reveal the to RFC string error - Fix typo in variable of rfcString function of RRule 2016-08-17 23:14:38 +02:00
Antoine Chabert
8fbc51e499 Change values of FREQ when get the RFC string to match the convention 2016-08-17 17:14:35 +02:00
rlanvin
989ddb9d9d Release 1.3.1 2016-08-09 15:13:42 +03:00
rlanvin
01d06e576d Fix array syntax for PHP 5.3 2016-08-07 15:08:01 +03:00
rlanvin
fe83f6de05 Change timezone names for PHP <= 5.4 2016-08-07 15:05:26 +03:00
rlanvin
0be4b1fb50 Forcing RRule create with a timezone to be in UTC #15
PHP's default is to put them in "+00:00" timezone, which
generates invalid RFC string.
The method rfcString() will convert all invalid timezones to
UTC to generate a valid RFC string.
2016-08-07 14:56:39 +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
Rémi Lanvin
06cd709805 Merge pull request #14 from ShoresOfNowhere/patch-1
Contributing with an italian translation
2016-07-10 11:48:10 +03:00
ShoresOfNowhere
ca8f8f36b6 Contributing with an italian translation 2016-07-09 12:12:34 +02: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
c6ea588839 Improving comments 2016-06-30 17:01:20 +03:00
rlanvin
d3d9c5090c Adding $include_timezone parameter to rfcString() 2016-06-30 14:03:44 +03:00
rlanvin
cb5735edd9 rfcString() formats DTSTART with a Z 2016-06-30 13:27:06 +03:00
rlanvin
97d860e55e Strictier RFC parser for dates (DTSTART and UNTIL)
Ref #13
2016-06-30 11:54:42 +03:00
Rémi Lanvin
e57f6eb0bc Merge pull request #12 from mromero91/patch-1
Spanish translation (es)
2016-04-28 18:18:24 +03:00
Miguel Romero
d47b2eccad es.php
Translation file for Spanish language.
2016-04-27 11:30:40 -06:00
rlanvin
33fe88ff9e Release 1.2.0 2016-04-09 18:37:43 +03:00
rlanvin
852f5436f9 Adding timezone-related tests for RSet 2016-04-04 16:36:37 +03:00
rlanvin
7ae826d7da Add more tests for humanReadable and i18nLoad
Loosening the locale regexp even more, to accept locales such
as sr-Latn-RS
2016-04-04 16:34:57 +03:00
Rémi Lanvin
2b9b48113f Merge pull request #11 from gustavs-gutmanis/feature/fallback-locale
Adding a fallbackLocale to RRule::humanReadable()
2016-04-04 15:50:22 +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
Rémi Lanvin
832c7b9a77 Merge pull request #9 from britelayer/master
Add Dutch (NL) translation
2016-03-31 15:36:36 +03:00
Wouter van Dam
02dcbd9015 Add Dutch (NL) translation 2016-03-31 10:01:36 +02:00
rlanvin
8470c6e509 Release 1.1.0 2016-03-30 12:19:05 +03:00
rlanvin
b527621fa5 Always cloning Datetime passed to parseDate to avoid any reference bug 2016-03-24 09:27:25 +02:00
rlanvin
3a84bcc6be Fix cache related bug at weekly frequencies 2016-03-24 09:23:11 +02:00
Rémi Lanvin
3162337ace Merge pull request #8 from gordonzhao/master
Update occursAt function to handle DateTime in different timezone
2016-03-24 09:10:02 +02:00
rlanvin
af1e19e3e2 Updating README 2016-03-23 18:49:37 +02:00
rlanvin
c52b61f2a5 Keep RDATE and EXDATE ordered in RSet 2016-03-23 18:04:10 +02:00
rlanvin
0a46d7cd35 OccursAt for RSet
Ref #7
2016-03-23 17:36:24 +02:00
rlanvin
ea059ca381 Removing occursOn (use occursAt) 2016-03-23 17:36:06 +02:00
rlanvin
d949e96c59 getOccurrencesBetween and cache for RSet 2016-03-23 17:05:33 +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
rlanvin
e0ca376396 Adding tests for occursAt + timezone
Ref #8
2016-03-23 12:03:43 +02:00
gordonzhao
98f51863d9 Update occursAt function to handle DateTime in different timezone 2016-03-22 16:16:52 +10:00
rlanvin
0cf1540f85 count, offsetExists and offsetGet for RSet
offsetGet is uncached at the moment (ref #7)
2016-03-21 23:56:35 +02:00
rlanvin
d2384c1997 Adding interface to make RSet behave like RRule
Recurrence rules and a recurrence sets now share the same interface.
Also added isFinite() and isInfinite() methods, and improved
the implementation of RSet (ref #7)
2016-03-21 22:43:38 +02:00
rlanvin
c3213e64fd Using references for easier reading 2016-03-21 21:55:40 +02:00
rlanvin
58a8475ba7 First draft implementation for recurrence set
The new class RSet can contain multiple RRULE, RDATE, EXRULE and EXDATE.

Ref #7
2016-03-15 23:31:57 +02:00
rlanvin
9a5cbdf93e Replacing static variables by class variables
Static variables in the class method caused a problem when
iterating multiple RRule object at the same time.
2016-03-15 23:30:50 +02:00
rlanvin
d735154d6f Using PSR-4 autoloader instead of classmap 2016-03-15 18:46:31 +02:00