Dominik Csapak
299a478f15
proxmox-time: implement epoch_to_rfc3339 for wasm
...
we just printed out the UTC version, this implements a localized version
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-08-30 09:20:38 +02:00
Dominik Csapak
151e2cfdfd
time: make RFC3339 format in wasm conform to usual format
...
on other targets we print the timestamp without fractional seconds
('.xxxZ'), so we should remove that too on wasm
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-08-30 09:18:44 +02:00
Dietmar Maurer
78e86f3261
re-add epoch_to_rfc3339_utc on wasm target
...
This was lost in commit 980d6b26df
.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2022-12-15 13:35:53 +01:00
Fabian Grünbichler
980d6b26df
proxmox-time: add missing 1.1.3 change
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-06-02 14:33:12 +02:00
Dietmar Maurer
47c9bed30d
impl epoch_to_rfc3339_utc on wasm target
2022-04-20 09:10:47 +02:00
Thomas Lamprecht
4554034d32
time: rustfmt
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-10 12:34:04 +02:00
Dietmar Maurer
165fa05290
Allow to compile on wasm32 target
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-12-03 08:52:54 +01:00