@cripty2001/utils 0.0.129 → 0.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react-whispr.js +1 -0
- package/package.json +1 -1
package/dist/react-whispr.js
CHANGED
|
@@ -167,6 +167,7 @@ function useRelTime(refresh = 1000) {
|
|
|
167
167
|
const currTs = useCurrentTimestamp(refresh);
|
|
168
168
|
const rtf = (0, react_1.useRef)(new Intl.RelativeTimeFormat(navigator.language, { numeric: "auto" })).current;
|
|
169
169
|
const getFormat = (seconds) => {
|
|
170
|
+
console.log("getformat", seconds);
|
|
170
171
|
if (seconds < 60)
|
|
171
172
|
return "second";
|
|
172
173
|
if (seconds < 3600)
|
package/package.json
CHANGED