|Ticket modified by Jörg Lehrke at 2011/06/25 14:15|
|Tracking System: Bugs|
|Version: Version 1.8.001|
|Priority: 5 - medium|
|Created By: Jan K|
|Created on: 2011/06/19 23:19|
|Assigned to: Jörg Lehrke|
|Summary: #2991 - Recurence rules: incorrect matching in monthly rules for Sony Ericsson J10i2|
|The attached patch copies the behaviour from the yearly rules and makes syncing of recurrent monthly(!) events with J10i2 work (yearly events already seem to be syncing properly).|
Am not quite sure if it will badly affect other devices or not, but I'd guess that it shouldn't since they probably use the same format for yearly and monthly? In worst case scenario, maybe the changes should go under an if (J10i2)?
E.g. RRULE: "MD1 23 #0" ... that is, each month on the 23rd till forever and ever
|Comment by Jörg Lehrke at 2011/06/25 14:15:|
|The first regular expression '/MD(\d+)(?: [^ ])? #(\d+)/' should have covered MD1 23 #0 but there was a '+' missing. The correct regex is|
'/MD(\d+)(?: [^ ]+)? #(\d+)/' now and should fix the issue.
Thanks for noticing this failure!
It is fixed now with revisions 35477++.