Skip to content

Commit

Permalink
timeapp: add Chome/Webkit timestamp decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
trou committed Nov 24, 2024
1 parent 8425390 commit 2d31e7d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/timeapp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
{
Expand Down

0 comments on commit 2d31e7d

Please # to comment.