mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
refactor: change all timestamps to be in seconds
This commit is contained in:
@@ -13,7 +13,7 @@ type Props = {
|
||||
};
|
||||
|
||||
export const HealthchecksCard = ({ volume }: Props) => {
|
||||
const timeAgo = formatDistanceToNow(volume.lastHealthCheck, {
|
||||
const timeAgo = formatDistanceToNow(volume.lastHealthCheck * 1000, {
|
||||
addSuffix: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user