feature/notification-more-options #7

Merged
chiko merged 3 commits from feature/notification-more-options into dev 2025-11-02 20:56:15 +00:00
Showing only changes of commit 9ec83d8b87 - Show all commits

View File

@@ -88,4 +88,11 @@ export function isEuropeanDST( date: Date ) {
// Return true if within DST period // Return true if within DST period
return date >= start && date < end; return date >= start && date < end;
}
export function createQS (params: Record<string, string | number | boolean>): string {
const queryString = Object.entries(params)
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
.join("&");
return queryString;
} }