View on GitHub

datatables-datetime

A WebJar containing the DataTables DateTime Extension.

DataTables DateTime WebJar (datatables-datetime)

DataTables DateTime is an extension for DataTables that provide a user friendly way to select values for dates and times. This WebJar includes the corresponding JavaScript and CSS files. DataTables and the DateTime extension are provided by SpryMedia Ltd. Scotland under the MIT License.

WebJars are usually built using a plain Maven POM. This WebJar uses the Wagon Maven Plugin to download the DataTables DateTime files from jsDelivr and puts them into the Java archive.

Usage

Just include this WebJar into your project. For Maven, you can use the following snippet:

<dependency>
    <groupId>org.webjars</groupId>
    <artifactId>datatables-datetime</artifactId>
    <version>1.0.1</version>
</dependency>

And here is a Gradle snippet for you:

implementation 'org.webjars:datatables-datetime:1.0.1'

Building

Just call

mvn clean install

and the Jar is built. You can check the output in the target folder. Please make sure that all required files are included and have proper content.

Contributing

I highly welcome your updates and improvements. Please open a pull request if you want to contribute to the DataTables DateTime WebJar. Thanks in advance!