From 884ad9280253c699e0ae8d1959585ae754b9c907 Mon Sep 17 00:00:00 2001 From: Lance Carlson Date: Wed, 24 Jan 2018 11:50:25 -0500 Subject: [PATCH] Update README.md Include the decimal values in the default output format --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0eca0e66..6033c039 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ assert_eq!(dt.format("%a %b %e %T %Y").to_string(), dt.format("%c").to_string()) assert_eq!(dt.to_string(), "2014-11-28 12:00:09 UTC"); assert_eq!(dt.to_rfc2822(), "Fri, 28 Nov 2014 12:00:09 +0000"); assert_eq!(dt.to_rfc3339(), "2014-11-28T12:00:09+00:00"); -assert_eq!(format!("{:?}", dt), "2014-11-28T12:00:09Z"); +assert_eq!(format!("{:?}", dt), "2014-11-28T12:00:09.000000000Z"); ``` Parsing can be done with three methods: