Replace deprecated chrono function

loewenheim
Jun 16, 2023, 2:39 PM
USQMBKTPHQBNFPDJ3RQWGTAJBLQUCVNE2JERIPFVYBS6MTCSYL6AC

Dependencies

  • [2] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [3] GUL4M5FI Cleanup and formatting
  • [4] HWH4WWN3 Proper separation of Git commit messages into a message and description fields in changes

Change contents

  • replacement in pijul/src/commands/git.rs at line 744
    [2.159043][2.159043:159129]()
    chrono::NaiveDateTime::from_timestamp(signature.when().seconds(), 0),
    [2.159043]
    [2.159129]
    chrono::NaiveDateTime::from_timestamp_opt(signature.when().seconds(), 0)
    .expect("seconds and nanos are within bounds"),