[debian-edu-commits] debian-edu/pkg-team/ 01/01: patch header for 1015_allow-iso8601-date-format-in-user-API.patch

Mike Gabriel sunweaver at debian.org
Thu Sep 3 03:35:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository gosa.

commit bfaf597dc471f779ee5a2819069383a9403fbd6b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Sep 3 05:35:36 2015 +0200

    patch header for 1015_allow-iso8601-date-format-in-user-API.patch
---
 ...015_allow-iso8601-date-format-in-user-API.patch | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/debian/patches/1015_allow-iso8601-date-format-in-user-API.patch b/debian/patches/1015_allow-iso8601-date-format-in-user-API.patch
index a53598b..263bb26 100644
--- a/debian/patches/1015_allow-iso8601-date-format-in-user-API.patch
+++ b/debian/patches/1015_allow-iso8601-date-format-in-user-API.patch
@@ -1,3 +1,25 @@
+Description: Allow writing ISO-8601 conform date strings into dateOfBirth
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Abstract:
+ Handling LDAP attribute dateOfBirth with GOsa² is a big mess. Why?
+ Nothing has been localized when it comes to date handling in GOsa².
+ GOsa² handles dates the very very German way (concerning the date
+ format).
+ .
+ While developing gosa-plugin-schoolmanager for Debian Edu, we require to
+ be able to write the same date format to LDAP (via GOsa² API) as is
+ returned via an LDAP search (via GOsa² API).
+ .
+ The $ldap->search() command in GOsa² returns LDAP's dateOfBirth
+ attribute as-stored-in-LDAP, i.e. in ISO-8601 date format (YYYY-MM-DD).
+ However, when writing back to LDAP, you have to give a "German" date
+ format (D{1,2}.M{1,2}.YYYY). This is all very unhandy when working with
+ dateOfBirth in an import tool for user accounts.
+ .
+ This patch does not affect any dateOfBirth handling in GOsa² WebGUI.
+ However, it allows one to directly store ISO-8601 formatted date strings
+ back into LDAP.
+
 --- a/gosa-core/include/utils/class_tests.inc
 +++ b/gosa-core/include/utils/class_tests.inc
 @@ -324,6 +324,23 @@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list