clever-tools icon indicating copy to clipboard operation
clever-tools copied to clipboard

Handle some "human relative dates" in logs and accesslogs

Open hsablonniere opened this issue 4 years ago • 2 comments

Something like "1 hour ago"...

  • Other examples?
  • Are there any libs we can use for this?

poke @urcadox @KannarFr

hsablonniere avatar Mar 25 '20 17:03 hsablonniere

https://www.gnu.org/software/coreutils/manual/html_node/Date-input-formats.html#Date-input-formats

https://www.gnu.org/software/coreutils/manual/html_node/Relative-items-in-date-strings.html#Relative-items-in-date-strings

hsablonniere avatar Mar 25 '20 17:03 hsablonniere

  • https://github.com/derhuerst/parse-human-relative-time
  • https://github.com/cmaurer/relative.time.parser
  • https://github.com/alanclarke/parse-human-date
  • https://github.com/sonirico/datetoken.js
  • https://github.com/AdvancedClimateSystems/moment-relativism

hsablonniere avatar Jul 07 '20 13:07 hsablonniere

Closing as is resolved by https://github.com/CleverCloud/clever-tools/pull/609

pdesoyres-cc avatar Apr 16 '24 14:04 pdesoyres-cc