m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-11 14:43:49 -05:00

2 Commits

Author SHA1 Message Date
Sergio
b4ef92fdcc Update version
Some checks are pending
CI / build-binary (push) Waiting to run
CI / build-image (push) Waiting to run
2024-09-07 11:23:05 +03:00
Sergio
6d1b5d339a Remove colon from last checked 2024-09-07 11:03:53 +03:00
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -350,7 +350,7 @@ dependencies = [
[[package]] [[package]]
name = "cup" name = "cup"
version = "2.2.0" version = "2.2.1"
dependencies = [ dependencies = [
"bollard", "bollard",
"chrono", "chrono",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cup" name = "cup"
version = "2.2.0" version = "2.2.1"
edition = "2021" edition = "2021"
[dependencies] [dependencies]

View File

@@ -2,5 +2,5 @@ import { intlFormatDistance } from "date-fns/intlFormatDistance";
export function LastChecked({ datetime }: { datetime: string }) { export function LastChecked({ datetime }: { datetime: string }) {
const date = intlFormatDistance(new Date(datetime), new Date()); const date = intlFormatDistance(new Date(datetime), new Date());
return <h3>Last checked: {date}</h3>; return <h3>Last checked {date}</h3>;
} }