Hello list:
I started using RC 0.8.1 yesterday, and wanted to congratulate everybody involved for a great piece of software: Thank you!
LDAP has significantly improved, and I am now able to sync all fields from my iOS devices with an LDAP backend that can also be edited via RC.
An execption are the two fields birthDate and anniversary. The issue is that RC stores them by default in "Y-m-d" (yyyy-mm-dd) format, but iOS expects the field to be in Unix timestamp format:
stored as "1975-09-24" in LDAP, and in turn this is displayed on iOS as "1 January 1970" (the default value), because "1975-09-24" it is obviously not a valid timestamp.
in iOS, the field is stored as 180741600 in LDAP, and then CORRECTLY displayed on RC as "24 September 1975": so all dandy up to here. However, when I try to edit that (correctly displayed) date field in RC, the behaviour outlined in 1) converts the timestamp to "Y-m-d" format in LDAP, breaking the field for iOS.
In summary: round-trip editing of date fields does not work at the moment with RC and iOS.
I have tried to update rcmail_format_date_col() from program/steps/addressbook/func.inc (using date format string "s" for timestamp), and format_date() from program/steps/addressbook/func.inc but RC still writes the date field as "Y-m-d", independent of what I use in rcmail_format_date_col().
Any ideas how to fix this final issue?
Thank you in advance, Achim