Skip to content

Commit f2931a7

Browse files
committed
Use quotes in repr of TzInfo
1 parent 3414703 commit f2931a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input/datetime.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ impl TzInfo {
574574
}
575575

576576
fn __repr__(&self) -> String {
577-
format!("TzInfo({})", self.__str__())
577+
format!("TzInfo('{}')", self.__str__())
578578
}
579579

580580
fn __str__(&self) -> String {

0 commit comments

Comments
 (0)