]> git.basschouten.com Git - openhab-addons.git/commitdiff
[jsscripting] Fixed links to JS-Joda (#11950)
authorMarkus Lipp <lipp.markus@gmail.com>
Mon, 3 Jan 2022 12:52:05 +0000 (13:52 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Jan 2022 12:52:05 +0000 (13:52 +0100)
Fixed path to JS-Joda github page to be formatter as external links

bundles/org.openhab.automation.jsscripting/README.md

index 7d1b2fcc8d2ca2cb87beffb1c7211b3747a08079..384fb392de86497c57ab5a2dc8b810145e72427d 100644 (file)
@@ -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