Formatting

pmeunier
Feb 27, 2023, 10:39 PM
C6SOSQCVVNBHQ67TUEJ5XQ4WEA4HPWHMVKECC3RD3LCKWHRI7S5QC

Dependencies

  • [2] BPCAJCLT Use RFC2822 date formatting in `log`, `tag`, and `record --timestamp`
  • [3] 2TWWWCU4 Fixing a warning related to an updated in `chrono`
  • [4] 5QB3HZFV More flexible timestamp format in record: allow both formats
  • [5] NS36CJCO Validating timestamps in record
  • [6] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [7] TFPETWTV Add config options for patch message templates

Change contents

  • replacement in pijul/src/commands/record.rs at line 63
    [2.341][2.341:375]()
    return Ok(ts.timestamp())
    [2.341]
    [5.266]
    return Ok(ts.timestamp());
  • replacement in pijul/src/commands/record.rs at line 66
    [4.31][4.31:52]()
    return Ok(t)
    [4.31]
    [4.52]
    return Ok(t);
  • replacement in pijul/src/commands/record.rs at line 266
    [5.105980][3.111:225]()
    chrono::DateTime::from_utc(chrono::NaiveDateTime::from_timestamp_opt(t, 0).unwrap(), chrono::Utc)
    [5.105980]
    [5.106081]
    chrono::DateTime::from_utc(
    chrono::NaiveDateTime::from_timestamp_opt(t, 0).unwrap(),
    chrono::Utc,
    )