Skip to content

Commit 080e813

Browse files
Alias DateTime in documentation site (#1546)
1 parent 55bdb08 commit 080e813

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<script src="https://unpkg.com/docsify/lib/plugins/search.min.js"></script>
2727
<script src="global/luxon.js"></script>
2828
<script>
29+
var DateTime = luxon.DateTime;
2930
console.log(
3031
"You can try Luxon right here using the `luxon` global, like `luxon.DateTime.now()`."
3132
);

0 commit comments

Comments
 (0)