Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for extra Duration methods #46507
Comments
TimNN
added
C-feature-request
T-libs
labels
Dec 5, 2017
bors
added a commit
that referenced
this issue
Dec 20, 2017
This comment has been minimized.
This comment has been minimized.
|
@sfackler this should be marked as a tracking issue now |
sfackler
added
B-unstable
and removed
C-feature-request
labels
Dec 23, 2017
This comment has been minimized.
This comment has been minimized.
|
Done! |
XAMPPRocky
added
C-enhancement
C-tracking-issue
and removed
C-enhancement
labels
Feb 26, 2018
This comment has been minimized.
This comment has been minimized.
|
Looks good to me to stabilize. @rfcbot fcp merge |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Mar 17, 2018
•
|
Team member @SimonSapin has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
rfcbot
added
the
proposed-final-comment-period
label
Mar 17, 2018
kennytm
referenced this issue
Mar 17, 2018
Closed
Suggestion: Replace `d.subsec_nanos() / 1_000_000` with `d.subsec_millis()` #2543
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Mar 19, 2018
|
|
rfcbot
added
final-comment-period
and removed
proposed-final-comment-period
labels
Mar 19, 2018
This comment has been minimized.
This comment has been minimized.
axos88
commented
Mar 23, 2018
|
I feel like |
This comment has been minimized.
This comment has been minimized.
|
And similarly, for formatting/display purposes, |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Mar 29, 2018
|
The final comment period is now complete. |
This comment has been minimized.
This comment has been minimized.
|
@birkenfeld personally I'd rather have |
clarfon
changed the title
Duration should have consistent methods for all units
Tracking issue for extra Duration methods
Apr 15, 2018
bors
added a commit
that referenced
this issue
Apr 18, 2018
bors
closed this
in
#50017
Apr 18, 2018
This comment has been minimized.
This comment has been minimized.
|
I know it's late (but it isn't in stable yet), but I wonder if |
This comment has been minimized.
This comment has been minimized.
|
@xfix I'm not involved in this decision but it appears that 2^64 seconds is about 42x the age of the universe. So, |
This comment has been minimized.
This comment has been minimized.
|
Yeah but |
clarfon commentedDec 5, 2017
Right now, we have
from_secs,from_millis, andfrom_micros, and alsoas_secsandsubsec_nanos.It makes sense to also add
from_nanos,subsec_micros, andsubsec_millis.