From 96fe2d10a4da0521b7cd72d90fd42121f9311978 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 6 Oct 2019 01:02:34 +0900 Subject: Update eslint and @typescript-eslint (denoland/deno_std#621) Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e --- datetime/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'datetime') diff --git a/datetime/mod.ts b/datetime/mod.ts index 1fd3b348f..efa6e09fe 100644 --- a/datetime/mod.ts +++ b/datetime/mod.ts @@ -118,7 +118,7 @@ export function currentDayOfYear(): number { * @return IMF date formated string */ export function toIMF(date: Date): string { - function dtPad(v: string, lPad: number = 2): string { + function dtPad(v: string, lPad = 2): string { return pad(v, lPad, { char: "0" }); } const d = dtPad(date.getUTCDate().toString()); -- cgit v1.2.3