We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pattern/client/package.json
Line 10 in 15bce03
v 1.29 import { distanceInWords, parse } from 'date-fns';
->2.27.0
import { formatDistance, parseISO } from "date-fns";
/**
export function diffBetweenCurrentTime(timestamp:string) { return formatDistance(parseISO(timestamp), new Date(), { addSuffix: true, includeSeconds: true, }).replace(/^(about|less than)\s/i, ""); }
The text was updated successfully, but these errors were encountered:
Hi John, I was having trouble with my phone. Would you retry. My data is upgraded. Thanks
Sorry, something went wrong.
Hi John I sync my account on this new device. Everything is working now. Please run it again.
No branches or pull requests
pattern/client/package.json
Line 10 in 15bce03
v 1.29
import { distanceInWords, parse } from 'date-fns';
->2.27.0
import { formatDistance, parseISO } from "date-fns";
/**
*/
export function diffBetweenCurrentTime(timestamp:string) {
return formatDistance(parseISO(timestamp), new Date(), {
addSuffix: true,
includeSeconds: true,
}).replace(/^(about|less than)\s/i, "");
}
The text was updated successfully, but these errors were encountered: