-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong trasformation to text #112
Comments
I don't think so. Saying "every 2 years" doesn't tell me exactly when every 2 years. |
Yes, I understand your point. In this case, it was a generic recurrence rule, which is not meant to directly refer to a specific start date, which will be set later. Is there a way then to "tell" the TextTransformer to ignore the start date, which has not been set? |
I'm having the same issue. $rule = new \Recurr\Rule('FREQ=YEARLY;INTERVAL=1;');
$textTransformer = new \Recurr\Transformer\TextTransformer();
echo $textTransformer->transform($rule), '<br />'; // yearly on October 03
$rule = new \Recurr\Rule('FREQ=MONTHLY;INTERVAL=1;');
$textTransformer = new \Recurr\Transformer\TextTransformer();
echo $textTransformer->transform($rule); // monthly It was like this before (yearly only). Don't know exactly when this behavior change. Or I don't remember correctly. |
If I create a new Rule as
and then transform it using
TextTransformer
I getthat is, it seems to use the corrent day as the date part.
Shouldn't it be just "every 2 years" ?
The text was updated successfully, but these errors were encountered: