stream-chat-react-native-core
Version:
The official React Native and Expo components for Stream Chat, a service for building chat applications
8 lines • 337 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.secondsUntil = exports.ONE_SECOND_IN_MS = void 0;
var ONE_SECOND_IN_MS = exports.ONE_SECOND_IN_MS = 1000;
var secondsUntil = date => Math.trunc((date.getTime() - Date.now()) / ONE_SECOND_IN_MS);
exports.secondsUntil = secondsUntil;
//# sourceMappingURL=date.js.map