summaryrefslogtreecommitdiff
path: root/std/datetime/mod.ts
diff options
context:
space:
mode:
authorTim Reichen <timreichen@users.noreply.github.com>2020-08-18 22:30:09 +0200
committerGitHub <noreply@github.com>2020-08-18 16:30:09 -0400
commitde1007fc6a2a6c2909732dcb87a5af6c1e370b09 (patch)
tree81c27cb32f12bed7fa6cbf450adfa29e7de42e04 /std/datetime/mod.ts
parent015fa0bd41ce51afbee4a1413cb90534155c041f (diff)
refactor(std/datetime): remove currentDayOfYear (#7059)
Diffstat (limited to 'std/datetime/mod.ts')
-rw-r--r--std/datetime/mod.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/std/datetime/mod.ts b/std/datetime/mod.ts
index e47fe9e01..64ca49196 100644
--- a/std/datetime/mod.ts
+++ b/std/datetime/mod.ts
@@ -55,14 +55,6 @@ export function dayOfYear(date: Date): number {
}
/**
- * Get number of current day in year
- * @return Number of current day in year
- */
-export function currentDayOfYear(): number {
- return dayOfYear(new Date());
-}
-
-/**
* Get number of the week in the year (ISO-8601)
* @return Number of the week in year
*/