mirror of
https://github.com/0x5eal/chrono-lc.git
synced 2024-12-13 21:40:42 +00:00
fix(tests): format_tr_naive
use proper locale
This commit is contained in:
parent
b8338287a6
commit
96589fa5eb
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ fn format_tr_naive() {
|
||||||
.with_nanosecond(1_026_490_708)
|
.with_nanosecond(1_026_490_708)
|
||||||
.expect("out of bound");
|
.expect("out of bound");
|
||||||
let dt = dt.naive_local();
|
let dt = dt.naive_local();
|
||||||
let locale = "en";
|
let locale = "tr";
|
||||||
|
|
||||||
// date specifiers
|
// date specifiers
|
||||||
assert_eq!(dt.formatl("%Y", locale).to_string(), "2001");
|
assert_eq!(dt.formatl("%Y", locale).to_string(), "2001");
|
||||||
|
|
Loading…
Reference in a new issue