You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The locale option does not look like a valid locale: en_sg
You should try with en_SG. I think the check is a bit too strict, I'll have a look.
( ! ) Fatal error: Call to a member function format() on null in /var/www/propsage/vendor/rlanvin/php-rrule/src/RRule.php on line 2362
Ok what version of the lib are you using? This definitely looks like a bug, but on the master line 2362 is an empty line, and 'locale' => 'en' worked fine for me when I tested it.
Also, could you tell me if you have intl extension loaded?
- 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"
I get this error on calling the humanReadable function.
On passing the locale explicitly like below code it gives an other error.
$rrule->humanReadable(['locale'=>'en']);
The text was updated successfully, but these errors were encountered: