Kaynağa Gözat

no need to parse the date,

Oz N Tiram 9 yıl önce
ebeveyn
işleme
c1f0aa11f0
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      blogit/blogit.py

+ 1 - 2
blogit/blogit.py

@@ -214,8 +214,7 @@ class Entry(object):
 
     @property
     def publish_date(self):
-        d = self.header.get('published', datetime.date.today())
-        return d.strftime("%B %d, %Y")
+        return self.header.get('published', datetime.date.today())
 
     @property
     def published_atom(self):