Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py	(revision 8375)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py	(revision 8376)
@@ -77,4 +77,10 @@
 
     def mangle_value(self, value, name, context=None):
+        # Add the hash symbol at the end of dates.
+        # This is to avoid annoying automatic date transformation
+        # by Excel or Calc.
+        if name in ('date_of_birth', 'emp_start', 'emp_end',
+            'emp2_start', 'emp2_end') and value is not None:
+            value = str(value) + '#'
         if name in (
             'course1', 'course2', 'course_admitted') and value is not None:
Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py	(revision 8375)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py	(revision 8376)
@@ -169,5 +169,5 @@
             'reg_number,screening_score,screening_venue,sex,state,'
             'student_id\r\n'
-            'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04,'
+            'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04#,'
             'Anna M. Tester,anna@sample.com,Anna,'
             in result)
@@ -193,5 +193,5 @@
             'reg_number,screening_score,screening_venue,sex,state,'
             'student_id\r\n'
-            'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04,'
+            'dp2011_654321,,654321,CERT1,CERT1,CERT1,1981-02-04#,'
             'Anna M. Tester,anna@sample.com,Anna,'
             in result)
Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py	(revision 8375)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py	(revision 8376)
@@ -47,5 +47,5 @@
         by Excel or Calc.
         """
-        if name == 'date_of_birth':
+        if name == 'date_of_birth' and value is not None:
             value = str(value) + '#'
         return super(
