refactor: add timezone data to session

This commit is contained in:
Carlos Valente
2025-01-17 19:39:08 +01:00
committed by Carlos Valente
parent 50ebcf4e14
commit 4a6fbc2a92
5 changed files with 22 additions and 6 deletions
@@ -2,7 +2,7 @@ import type { MaybeNumber } from 'ontime-types';
import { millisToSeconds, secondsToHours, secondsToMinutes } from './conversionUtils.js';
function pad(val: number): string {
export function pad(val: number): string {
return String(val).padStart(2, '0');
}