Skip to content

Commit 048ca26

Browse files
committed
fix(国际化/时区): 修正了对 Timezone 请求头的错误说明
1 parent 1dff632 commit 048ca26

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,13 @@ language-extlang-script-region-variant-extension-privateuse
8787

8888
### 时区
8989

90-
客户端请求服务器时,如果对时间有特殊要求(如某段时间每天的统计信息),则可以参考 [IETF 相关草案](http://tools.ietf.org/html/draft-sharhalakis-httptz-05) 增加请求头 `Timezone: Asia/Shanghai`
90+
客户端请求服务器时,如果对时间有特殊要求(如某段时间每天的统计信息),则可以参考 [IETF 相关草案](http://tools.ietf.org/html/draft-sharhalakis-httptz-05) 增加请求头 `Timezone`
91+
92+
```
93+
Timezone: 2007-06-12T23:48:22+0800
94+
// OR
95+
Timezone: 1977-07-30T12:00:11+0200;;Europe/Athens
96+
```
9197

9298
时区的名称可以参考 [tz datebase](http://www.iana.org/time-zones)([Wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)) 。
9399

0 commit comments

Comments
 (0)