From dba4b0088f81add3ecab0d8eb40a30a3e9e758d7 Mon Sep 17 00:00:00 2001 From: Markus Lipp Date: Mon, 3 Jan 2022 13:52:05 +0100 Subject: [PATCH] [jsscripting] Fixed links to JS-Joda (#11950) Fixed path to JS-Joda github page to be formatter as external links --- bundles/org.openhab.automation.jsscripting/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.automation.jsscripting/README.md b/bundles/org.openhab.automation.jsscripting/README.md index 7d1b2fcc8..384fb392d 100644 --- a/bundles/org.openhab.automation.jsscripting/README.md +++ b/bundles/org.openhab.automation.jsscripting/README.md @@ -403,7 +403,7 @@ logger.debug("Hello {}!", "world"); ### Time -openHAB internally makes extensive use of the `java.time` package. openHAB-JS exports the excellent [JS-Joda](#https://js-joda.github.io/js-joda/) library via the `time` namespace, which is a native Javascript port of the same API standard used in Java for `java.time`. Anywhere that a native Java `ZonedDateTime` or `Duration` is required, the runtime will automatically convert a JS-Joda `ZonedDateTime` or `Duration` to its Java counterpart. +openHAB internally makes extensive use of the `java.time` package. openHAB-JS exports the excellent [JS-Joda](https://js-joda.github.io/js-joda/) library via the `time` namespace, which is a native Javascript port of the same API standard used in Java for `java.time`. Anywhere that a native Java `ZonedDateTime` or `Duration` is required, the runtime will automatically convert a JS-Joda `ZonedDateTime` or `Duration` to its Java counterpart. Examples: ```javascript @@ -418,7 +418,7 @@ console.log("averageSince", item.history.averageSince(yesterday)); actions.Exec.executeCommandLine(time.Duration.ofSeconds(20), 'echo', 'Hello World!'); ``` -See [JS-Joda](#https://js-joda.github.io/js-joda/) for more examples and complete API usage. +See [JS-Joda](https://js-joda.github.io/js-joda/) for more examples and complete API usage. ## File Based Rules