Comments (2)
(Oops, really sorry for the delay!) Have you tried %.f
? %f
only consumes a number, as in 123123
in .123123
, and won't do what you want in general (it expects a number of nanoseconds). In general, see this documentation on the supported format strings.
from chrono.
Hi, Thanks for your reply, Sorry for so late to reply.
It is my careless.
Thanks again,
from chrono.
Related Issues (20)
- Missing panic condition on doc HOT 1
- Why doesn't time support multiplication, division, mod? HOT 1
- Unexpected panics due to unwrap HOT 1
- Restart 0.5 branch? HOT 6
- input is not enough for unique date and time HOT 2
- Offer options to configure how to create rfc 3339 string HOT 6
- Split `clock` feature into `clock-now` and `clock-tz` HOT 6
- CI failures in MSRV jobs failing to pick up ahash version
- Operations on NaiveDate are not commutative. HOT 10
- Add `subsec` methods to `Duration` HOT 1
- Time formatting on en_US locale with '%X' not expected HOT 1
- FrameworkNotFound error when building for Apple using maturin HOT 1
- format paniced HOT 11
- panic with_timezone Jan 1, 1601 00:00 UTC HOT 32
- Add methods for float multiplication/division HOT 1
- panic with Local Timezone 2023/11/29 02:00:00 checked_sub_months HOT 2
- rfc HOT 1
- This API seems very complicated HOT 2
- Times before Unix epoch
- Truncating a timestamp close to EPOCH fails HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrono.