refactor(core): Remove dead utils (no-changelog) (#8947)

This commit is contained in:
Iván Ovejero
2024-03-25 17:59:42 +01:00
committed by GitHub
parent 69807a5efb
commit 7d52419d6f
3 changed files with 0 additions and 52 deletions

View File

@@ -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();
}