1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2025-03-14 06:29:16 +01:00

209 Commits

Author SHA1 Message Date
Rémi Lanvin
c68668b195 Fix incorrect calculation from partially filled cache
When resuming calculation from a partially filled cache,
if the time is the last second of the day, this causes the generator
to consider the wrong frame of reference and therefore generate
the wrong occurrences.
Ref #160
2025-02-21 09:15:24 +01:00
Viktor Szépe
bef9568de9 Fix typos 2024-06-27 09:13:29 +02:00
Rémi Lanvin
cb5c6f44f2 Update Changelog for 2.5.1 v2.5.1 2024-06-23 09:45:45 +02:00
Rémi Lanvin
a2dd785693 Fix insufficient type detection for FREQ and WKST
In some cases non-string types would end up passed to strtoupper
which causes a deprecation warning from PHP 8.3.
There might be other places where stricter type check is needed
Ref #149
2024-06-23 09:24:58 +02:00
Rémi Lanvin
4b19d8ef60 Fix utf8 C locale detection wihout intl 2024-06-23 09:01:48 +02:00
Rémi Lanvin
747bc473d9 Fix failing tests with ICU 72.1 because of NNBSP 2024-06-23 08:18:06 +02:00
Rémi Lanvin
0f48c3f93b Add PHP 8.2 to Github workflow 2024-06-13 09:36:07 +02:00
Rémi Lanvin
75b76c85c9 Release 2.5.0 v2.5.0 2024-06-08 08:10:35 +02:00
Rémi Lanvin
9fd062ae06 Update changelog 2024-06-08 07:39:51 +02:00
nils&paul
44d5b4c3f0 Update nl.php
In Dutch, weekdays and monts are written in lowercase (https://www.babbel.com/en/magazine/a-guide-to-how-to-write-the-date-in-dutch).
2024-06-08 07:36:03 +02:00
kluvi
963a466e48 Czech localization 2024-06-08 07:35:21 +02:00
Taichi Kurihara
8bbb753c5a Added Japanese translation 2024-06-08 07:34:42 +02:00
Erik
949addfb2d add test 2024-06-08 07:32:49 +02:00
Erik
7af14b7dac Better handle TZ with Exchange / M365 generated iCal files 2024-06-08 07:32:49 +02:00
Gonzalo Guevara
9cd53d7bcc Improve clarity in daily recurrence translation 2024-06-08 07:30:56 +02:00
Sebastian Hultstrand
2cad19b61d Corrects the spelling of monday and the grammar of enumeration partials. 2023-08-19 09:23:18 +02:00
Jeff Bierschbach
bef5c05e43
Add human readable time of day option 2023-06-14 19:35:17 +02:00
rlanvin
7ddef3d49b Update Changelog for 2.4.1 v2.4.1 2023-06-07 15:15:59 +02:00
Jeff Bierschbach
ccbc749f65 Humanreadable gets monthly wrong 2023-06-07 15:06:42 +02:00
Alexandru Busuioc
38ea18eb55 correctly parse DateTimeImmutable 2023-05-01 20:52:19 +02:00
Craig Heydenburg
f7bcad3538
Fix namespace on return type
phpstan interprets the namespace RRule and so turn the return type into RRule\DateTimeInterface which of course doesn't exist.
2023-02-22 09:36:35 +01:00
rlanvin
2acd9950e8 Update Changelog for 2.4.0 v2.4.0 2023-01-06 11:19:10 +01:00
Joel Stein
fa13bf3f6b
Fix #120 Reset time to midnight to fix timezone offsets. 2023-01-06 11:01:00 +01:00
Edu
15646f89da Update es.php
Fix Spanish typos
2022-09-30 19:23:15 +02:00
L. Fliss
8ad92b376d Improve German translation (fixes #112)
Fixed grammar problems for example in "Monatlich am ersten Montag und letzten Dienstag des Monats, ab dem 06.09.22, für immer"
2022-09-24 09:49:38 +02:00
rlanvin
bfb494a64d Revert breaking change in test class mistakenly merged 2022-08-21 11:08:21 +02:00
Janusz Paszyński
dbeabe3e2f Polish translation added 2022-08-04 09:01:04 +02:00
Janusz Paszyński
601e2cccfb deprecation messages supress without braking backward compatibility 2022-08-04 09:00:03 +02:00
Felippe Roberto Bayestorff Duarte
32bab843e4 Create pt.php
Added portuguese translation
2022-08-04 08:57:17 +02:00
Cédric Anne
d29a068795 Exclude files from dist package 2022-08-04 08:48:42 +02:00
rlanvin
2221e8cdac Fix #103 createFromRfcString forced uppercase v2.3.2 2022-05-03 15:11:22 +02:00
rlanvin
5ef9eedb5d Fix #104 remove microseconds from date input v2.3.1 2022-04-22 10:45:04 +02:00
rlanvin
a7d7f993e6 Update Changelog for release 2.3.0 v2.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 v2.2.2 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 v2.2.1 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