about summary refs log tree commit diff
path: root/library/core/src/time.rs
AgeCommit message (Expand)AuthorLines
2025-08-11Rollup merge of #143949 - clarfonthey:const-arith-ops, r=AmanieuStuart Cook-9/+18
2025-08-10Constify remaining operatorsltdk-9/+18
2025-08-09Stabilize featureKivooeo-4/+4
2025-05-09Split duration_constructors to get non-controversial bits out faster.Dietrich Daroch-4/+4
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-1/+1
2025-03-10Limit formatting width and precision to 16 bits.Mara Bos-1/+2
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-1/+1
2025-02-18Add #[track_caller] to Duration Div implPeter Todd-0/+2
2025-01-09Update a bunch of library types for MCP807Scott McMurray-54/+42
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-2/+0
2024-10-15replace placeholder versionJosh Stone-4/+4
2024-10-14Fix two const-hacksGeorge Bateman-5/+3
2024-10-12Stabilize `const_option`Trevor Gross-1/+0
2024-10-11stabilize duration_consts_floatRalf Jung-6/+6
2024-09-08add FIXME(const-hack)Ralf Jung-0/+2
2024-09-03docs: add digit separators in `Duration` examplesLiterally Void-14/+14
2024-08-02time.rs: remove "Basic usage text"Tshepang Mbambo-10/+0
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-2/+2
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-2/+2
2024-07-26Fix doc nitsJohn Arundel-4/+4
2024-06-29Stabilize `duration_abs_diff`Ole Bertram-2/+3
2024-06-28docs: say "includes" instead of "does include"Sky-4/+4
2024-06-11replace version placeholderPietro Albini-2/+2
2024-05-30Fix copy-paste error in `Duration::from_weeks` panic message.John Millikin-1/+1
2024-05-25Rollup merge of #124667 - newpavlov:stabilize_div_duration, r=jhprattMatthias Krüger-6/+8
2024-05-17Inline Duration construction into Duration::from_{millis,micros,nanos}Noa-3/+21
2024-05-17Don't call Duration::new unnecessarily in Duration::from_secsNoa-3/+7
2024-05-15Divide float nanoseconds instead of secondsArtyom Pavlov-2/+6
2024-05-03Use `CURRENT_RUSTC_VERSION`Артём Павлов [Artyom Pavlov]-2/+2
2024-05-03Stabilize `div_duration`Артём Павлов [Artyom Pavlov]-4/+2
2024-04-24Fix cannot usage in time.rsJacob Trueb-2/+2
2024-03-14Implement `Duration::as_millis_{f64,f32}`Pavel Grigorenko-0/+42
2024-02-11Rollup merge of #120307 - djc:duration-constructors, r=Mark-SimulacrumMatthias Krüger-0/+120
2024-02-11Rollup merge of #119242 - BenWiederhake:dev-from-nanos, r=joshtriplettMatthias Krüger-0/+5
2024-01-24core: add Duration constructorsDirkjan Ochtman-0/+120
2024-01-24std/time: avoid divisions in Duration::newUtkarsh Gupta-7/+12
2024-01-16Suggest less bug-prone construction of Duration in docsBen Wiederhake-0/+5
2023-11-05Add `Duration::abs_diff`Ole Bertram-0/+21
2023-10-03Add missing inline attributes to Duration trait implsElichai Turkel-0/+9
2023-07-30Fix implementation of `Duration::checked_div`Jacob Pratt-4/+4
2023-04-20Use fmt::Alignment instead of fmt::rt::v1::Alignment.Mara Bos-1/+1
2023-04-16core is now compilableDeadbeef-16/+8
2022-11-06Bump version placeholders to releaseMark Rousskov-4/+4
2022-10-15Stabilize `duration_checked_float`Ryan Lopopolo-20/+17
2022-10-14Fix `Duration::{try_,}from_secs_f{32,64}(-0.0)`beetrees-1/+1
2022-09-29Fix integer overflow in `format!("{:.0?}", Duration::MAX)`beetrees-10/+29
2022-09-28Add a niche to `Duration`, unix `SystemTime`, and non-apple `Instant`beetrees-46/+52
2022-08-31Fix a bunch of typoDezhi Wu-3/+3
2022-08-10Rollup merge of #100353 - theli-ua:master, r=joshtriplettMichael Goulet-2/+2
2022-08-09Fix doc links in core::time::Duration::as_secsAnton Romanov-2/+2