1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-17 05:22:18 +00:00

minor formatting changes

This commit is contained in:
Luca Armaroli
2020-09-05 12:41:05 +02:00
parent 6c0e37ad98
commit 29a6fab20b

View File

@@ -9,6 +9,7 @@ import { parse as parseDuration, Duration } from 'iso8601-duration';
import path from 'path';
import sanitizeWindowsName from 'sanitize-filename';
function publishedDateToString(date: string): string {
const dateJs: Date = new Date(date);
const day: string = dateJs.getDate().toString().padStart(2, '0');