From 2d31e7df35b3253b14ccdbd5dcb7e3128452ff31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Rigo?= Date: Sun, 24 Nov 2024 17:00:27 +0100 Subject: [PATCH] timeapp: add Chome/Webkit timestamp decoding --- src/timeapp.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/timeapp.rs b/src/timeapp.rs index c1aac52..25a7cd1 100644 --- a/src/timeapp.rs +++ b/src/timeapp.rs @@ -120,6 +120,14 @@ impl Applet for TimeApplet { "Microseconds since Epoch", ) } + (17, _) => + /* Chrome/WebKit timestamp: microseconds since 1601-01-01 */ + { + ( + decode_windows_filetime(ts_int * 10), + "Chrome/WebKit timestamp", + ) + } (18, _) => /* Windows FILETIME */ {