Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nomango committed Jun 24, 2022
1 parent c2f560a commit 0105f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datefmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func ExampleFormat() {
}

func ExampleParse() {
t, _ := datefmt.Parse("yyyy-MM-dd HH:mm:ss z", "2022-06-20 09:49:10 CST")
t, _ := datefmt.Parse("yyyy-MM-dd HH:mm:ss z Z", "2022-06-20 09:49:10 CST +0800")
fmt.Println(t)
// Output:
// 2022-06-20 09:49:10 +0800 CST
Expand Down

0 comments on commit 0105f16

Please sign in to comment.