Change parseDateTimeValue utility function to handle cases where it gets passed a unicode string.

git-svn-id: https://svn.apache.org/repos/asf/chemistry/cmislib/trunk@1759040 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/cmislib/util.py b/src/cmislib/util.py
index a38264c..7b6855f 100644
--- a/src/cmislib/util.py
+++ b/src/cmislib/util.py
@@ -124,11 +124,12 @@
     """
     Utility function to return a datetime from a string.
     """
-    if type(value) == str:
+    if type(value) == str or type(value) == unicode:
         return iso8601.parse_date(value)
     elif type(value) == int:
         return datetime.datetime.fromtimestamp(value / 1000)
     else:
+        moduleLogger.debug('Could not parse dt value of type: %s' % type(value))
         return