chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Documentation for `DateTime`

Open pitdicker opened this issue 2 years ago • 3 comments

If the general direction of this documentation seems useful, I can write it for more types.

My idea is to give a tour of the available methods on a type, similar to std::Option.

Useful examples could also be a plus, but this is just a start.

pitdicker avatar Apr 27 '23 19:04 pitdicker

Thank you for the good suggestions!

I will add new commits to address review comments, and can squash them before later.

pitdicker avatar Apr 28 '23 12:04 pitdicker

Finally updated. Sorry to let this linger for 3+ months.

pitdicker avatar Sep 06 '23 19:09 pitdicker

Codecov Report

Merging #1040 (d6b8bb4) into 0.4.x (604b92a) will decrease coverage by 0.06%. The diff coverage is 60.71%.

@@            Coverage Diff             @@
##            0.4.x    #1040      +/-   ##
==========================================
- Coverage   91.50%   91.45%   -0.06%     
==========================================
  Files          38       38              
  Lines       17314    17341      +27     
==========================================
+ Hits        15844    15860      +16     
- Misses       1470     1481      +11     
Files Coverage Δ
src/datetime/mod.rs 88.15% <60.71%> (-1.15%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Sep 06 '23 19:09 codecov[bot]