https://github.com/joeriddles/datetimepicker-demo
How to use jQuery DateTimePicker and Luxon to get ISO timestamps
https://github.com/joeriddles/datetimepicker-demo
Last synced: 8 months ago
JSON representation
How to use jQuery DateTimePicker and Luxon to get ISO timestamps
- Host: GitHub
- URL: https://github.com/joeriddles/datetimepicker-demo
- Owner: joeriddles
- Created: 2023-01-31T00:11:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T00:12:16.000Z (over 3 years ago)
- Last Synced: 2025-03-26T02:45:44.682Z (over 1 year ago)
- Language: JavaScript
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DateTimePicker + Luxon with ISO datetimes
This repo demonstrates how to use the jQuery [DateTimePicker](https://xdsoft.net/jqplugins/datetimepicker/) plugin and [Luxon](https://moment.github.io/luxon/#/) to get ISO timestamps from the DateTimePicker element while using a custom format for the dates.

---
Init `datetimepicker` submodule after cloning
```shell
git submodule init
git submodule update
```
To run
```shell
python -m http.server 80
```
_Note_: `Luxon` is added directly to the repo (`luxon.js`), but `DateTimePicker` is added as a git submodule and requires initialization after cloning the git repo.