An open API service indexing awesome lists of open source software.

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

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.

![](resources/screenshot.png)

---

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.