diff src/tools/utils.py @ 1935:1128feb54180

core: removed pyfeed and xe dependencies: pyfeed and xe where still used only for date format handling, and there is already dateutil which is a dependency of Wokkel. Furthermore pyfeed and xe are still not on pypi, causing troubles for installation with pip
author Goffi <goffi@goffi.org>
date Sun, 17 Apr 2016 17:08:12 +0200
parents 2daf7b4c6756
children 0931b5a6213c
line wrap: on
line diff
--- a/src/tools/utils.py	Sun Apr 17 14:45:26 2016 +0200
+++ b/src/tools/utils.py	Sun Apr 17 17:08:12 2016 +0200
@@ -43,6 +43,7 @@
     """Return date according to XEP-0082 specification
 
     to avoid reveling the timezone, we always return UTC dates
+    the string returned by this method is valid with RFC 3339
     @param timestamp(None, float): posix timestamp. If None current time will be used
     @param with_time(bool): if True include the time
     @return(unicode): XEP-0082 formatted date and time