javascriptextjs / micolog

Automatically exported from code.google.com/p/micolog
MIT License
0 stars 1 forks source link

发现一个用 live writer写博得小Bug #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
问题:在live writer修改文章发布日期无效。

经查系:执行形如:entry.date=datetime.strptime(str(struct['date_created
_gmt']), "%Y%m%dT%H:%M:%S")
的代码抛异常,而被
except:
        pass
捕获导致修改文章发布日期无效。

我临时的修改是将: "%Y%m%dT%H:%M:%S"
改为:"%Y%m%dT%H:%M:%SZ" 
就OK了。

Original issue reported on code.google.com by youli...@chaoskey.com on 23 Sep 2010 at 4:08

GoogleCodeExporter commented 8 years ago

Original comment by coolch...@gmail.com on 8 Oct 2010 at 6:59