From dacc5692d79541e1c96a62f5925e63961c873ca9 Mon Sep 17 00:00:00 2001 From: Kevin Phillips Date: Tue, 3 Oct 2023 11:03:27 -0500 Subject: [PATCH] Fixing typo in API docs --- docs/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API.md b/docs/API.md index 20f4cf8..ebb435e 100644 --- a/docs/API.md +++ b/docs/API.md @@ -234,7 +234,7 @@ Returns a Unix timestamp (UTC) for the given incomplete [time object] converted const { findTimeZone, getUnixTime } = require('timezone-support') const berlin = findTimeZone('Europe/Berlin') const berlinTime = { year: 2018, month: 9, day: 2, hours: 10, minutes: 0 } -const date = getZonedTime(berlinTime, berlin) +const date = getUnixTime(berlinTime, berlin) // Returns the UNIX timestamp (UTC) in milliseconds ```