File: 001-fix-example

package info (click to toggle)
python-pyrss2gen 1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 108 kB
  • sloc: python: 478; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
--- a/example.py
+++ b/example.py
@@ -9,7 +9,7 @@
     description = "The latest news about PyRSS2Gen, a "
                   "Python library for generating RSS2 feeds",
 
-    lastBuildDate = datetime.datetime.now(),
+    lastBuildDate = datetime.datetime.utcnow(),
 
     items = [
        PyRSS2Gen.RSSItem(