Fixing a warning related to an updated in `chrono`

pmeunier
Feb 23, 2023, 8:26 PM
2TWWWCU4C3DLAECGKC43PYYVWC6DABSGKVXI25QZO5INZHVBZ5LAC

Dependencies

  • [2] QL6K2ZM3 Tags
  • [3] VYAJZ7DE Don't open an editor in `pijul tag create` when `-m` is set
  • [4] TFPETWTV Add config options for patch message templates
  • [5] A3RM526Y Integrating identity malleability
  • [6] EEBKW7VT Keys and identities
  • [7] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • replacement in pijul/src/commands/tag.rs at line 290
    [2.5248][2.5248:5345]()
    chrono::DateTime::from_utc(chrono::NaiveDateTime::from_timestamp(t, 0), chrono::Utc)
    [2.5248]
    [2.5345]
    chrono::DateTime::from_utc(chrono::NaiveDateTime::from_timestamp_opt(t, 0).unwrap(), chrono::Utc)
  • replacement in pijul/src/commands/record.rs at line 260
    [3.105980][3.105980:106081]()
    chrono::DateTime::from_utc(chrono::NaiveDateTime::from_timestamp(t, 0), chrono::Utc)
    [3.105980]
    [3.106081]
    chrono::DateTime::from_utc(chrono::NaiveDateTime::from_timestamp_opt(t, 0).unwrap(), chrono::Utc)