[Checkins] SVN: Products.PluggableAuthService/trunk/ Added forward	compatibility with DateTime 3.
    Hanno Schlichting 
    hannosch at hannosch.eu
       
    Sun May  8 12:47:11 EDT 2011
    
    
  
Log message for revision 121607:
  Added forward compatibility with DateTime 3.
  
Changed:
  U   Products.PluggableAuthService/trunk/CHANGES.txt
  U   Products.PluggableAuthService/trunk/Products/PluggableAuthService/UserPropertySheet.py
-=-
Modified: Products.PluggableAuthService/trunk/CHANGES.txt
===================================================================
--- Products.PluggableAuthService/trunk/CHANGES.txt	2011-05-08 16:13:46 UTC (rev 121606)
+++ Products.PluggableAuthService/trunk/CHANGES.txt	2011-05-08 16:47:10 UTC (rev 121607)
@@ -4,6 +4,7 @@
 1.7.4 (unreleased)
 ------------------
 
+- Added forward compatibility with DateTime 3.
 
 1.7.3 (2011-02-10)
 ------------------
Modified: Products.PluggableAuthService/trunk/Products/PluggableAuthService/UserPropertySheet.py
===================================================================
--- Products.PluggableAuthService/trunk/Products/PluggableAuthService/UserPropertySheet.py	2011-05-08 16:13:46 UTC (rev 121606)
+++ Products.PluggableAuthService/trunk/Products/PluggableAuthService/UserPropertySheet.py	2011-05-08 16:47:10 UTC (rev 121607)
@@ -59,6 +59,9 @@
 
             ptype = 'lines'
 
+        elif type( v ) is DateTime:
+            ptype = 'date'
+
         elif type( v ) is InstanceType:
 
             if isinstance( v, DateTime ):
    
    
More information about the checkins
mailing list