6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
6 lines
184 B
JavaScript
6 lines
184 B
JavaScript
import assertString from './util/assertString';
|
|
export default function toDate(date) {
|
|
assertString(date);
|
|
date = Date.parse(date);
|
|
return !isNaN(date) ? new Date(date) : null;
|
|
} |