Files
fabric_trade_server/dist/common/utils/tehran-time.d.ts
T
mohmdsdgandCursor 345a4a4708 Add SMS OTP, harden auth, and fix order/checkout server bugs.
Ship 4-digit OTP with rate-limit attempts, Tehran-safe expiry/rass math, larger JSON body limit for check images, and safer order pricing/status guards. Include rebuilt dist for prebuilt deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:55:26 +03:30

6 lines
328 B
TypeScript

export declare function tehranCalendarDay(date: Date): Date;
export declare function calendarDayOf(date: Date | string): Date;
export declare function addDays(date: Date, days: number): Date;
export declare function diffInDays(from: Date, to: Date): number;
export declare function tehranAtHour(date: Date, hour: number): Date;