mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
refactor(core): Remove dead utils (no-changelog) (#8947)
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
export function toUtcDate(datetime: Date, tz: string) {
|
||||
return DateTime.fromISO(datetime.toISOString().slice(0, -1), { zone: tz }).toUTC().toJSDate();
|
||||
}
|
||||
Reference in New Issue
Block a user