Switch timestamps from rfc822 local time to iso8601 UTC

pull/100/head
Emi Simpson 4 years ago
parent 651fa716b4
commit 05985583f0
No known key found for this signature in database
GPG Key ID: 68FAB2E2E6DFC98B

@ -72,7 +72,7 @@ fn main() {
app_args.silent,
)
.unwrap();
let downloaded_time = time::now();
let downloaded_time = time::now_utc();
let dom = html_to_dom(&data);
walk_and_embed_assets(
@ -106,9 +106,9 @@ fn main() {
html.insert_str(
0,
&format!(
"<!--- Downloaded from {} on {}using {} v{} -->\n",
"<!--- Downloaded from {} on {} using {} v{} -->\n",
&clean_url,
downloaded_time.rfc822(),
downloaded_time.rfc3339(),
env!("CARGO_PKG_NAME"),
env!("CARGO_PKG_VERSION"),
),

Loading…
Cancel
Save