def strf(self, fmt='%Y/%m/%d'):
"""
Returns the formatted string of the time
Args:
* fmt (time format): check
https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
"""
return self._date.strftime(fmt)
评论列表
文章目录