diff options
author | Melody Horn <melody@boringcactus.com> | 2021-12-05 22:16:10 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-12-05 22:16:10 -0700 |
commit | b00ab5c4e434a2e497d6cde8606c3dd2496a9776 (patch) | |
tree | 3270f65e9d6c57de7db00b0a8210df86cf0da4ba /src | |
parent | 62c60723a77e9d3b984f94924194b1a0ba753916 (diff) | |
download | queue-go-brrr-b00ab5c4e434a2e497d6cde8606c3dd2496a9776.tar.gz queue-go-brrr-b00ab5c4e434a2e497d6cde8606c3dd2496a9776.zip |
correctly format actual ETA
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -129,7 +129,8 @@ impl Status { let format = js_sys::Intl::DateTimeFormat::new(&empty_array, &options); let format = format.format(); let locale_string = format.call1(&JsValue::UNDEFINED, &date).unwrap(); - locale_string.as_string().unwrap() + let locale_string = locale_string.as_string().unwrap(); + format!("queue go brrr - ETA {}", &locale_string) } Status::ConnectionError => format!("queue go brrr - connection error?"), } |