Skip to content

Commit

Permalink
fix rst formating issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Aug 1, 2018
1 parent 349c42e commit 5db45e4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/tutorials/tutorial_human_readable_datetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,21 @@
也支持"1 hour ago", "now", "yesterday 0:0:0"等格式了。更多格式也可以参考https://dateparser.readthedocs.io/en/latest/

**相对1分钟:** -1min ~ now, 或 1 min ago ~ now

**相对4小时:** -4h ~ now,或 4 hours ago ~ now 或 4 hour ago

**相对4天(24小时):** -1d ~ now,或 1 day ago ~ now
**相对1周(7*24小时):** -1week ~ now, 或 1 week ago ~ now

**相对1周(7x24小时):** -1week ~ now, 或 1 week ago ~ now

**今天:** today 0:0:0 ~ now

**昨天:** yesterday 0:0:0 ~ yesterday 23:59:59,或 1 day ago 0:0:0 ~ -1d 23:59:59

**前天:** the day before yesterday 0:0:0 ~ 2 day ago 23:59:59



## 例子

### 实时显示当前网站UV
Expand Down

0 comments on commit 5db45e4

Please sign in to comment.