pc-bootstrap4-datetimepicker

WebJar for pc-bootstrap4-datetimepicker

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

pc-bootstrap4-datetimepicker
Last Version

Last Version

4.17.50
Release Date

Release Date

Type

Type

jar
Description

Description

pc-bootstrap4-datetimepicker
WebJar for pc-bootstrap4-datetimepicker
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/pingcheng/bootstrap4-datetimepicker

Download pc-bootstrap4-datetimepicker

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/pc-bootstrap4-datetimepicker/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>pc-bootstrap4-datetimepicker</artifactId>
    <version>4.17.50</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/pc-bootstrap4-datetimepicker/
implementation 'org.webjars.npm:pc-bootstrap4-datetimepicker:4.17.50'
// https://jarcasting.com/artifacts/org.webjars.npm/pc-bootstrap4-datetimepicker/
implementation ("org.webjars.npm:pc-bootstrap4-datetimepicker:4.17.50")
'org.webjars.npm:pc-bootstrap4-datetimepicker:jar:4.17.50'
<dependency org="org.webjars.npm" name="pc-bootstrap4-datetimepicker" rev="4.17.50">
  <artifact name="pc-bootstrap4-datetimepicker" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='pc-bootstrap4-datetimepicker', version='4.17.50')
)
libraryDependencies += "org.webjars.npm" % "pc-bootstrap4-datetimepicker" % "4.17.50"
[org.webjars.npm/pc-bootstrap4-datetimepicker "4.17.50"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : bootstrap jar [4.0.0-beta.2,5)
org.webjars.npm : jquery jar [1.8.3,2),[2.0.0,3),[3.0.0,4)
org.webjars.npm : moment jar [2.10.0,3)
org.webjars.npm : moment-timezone jar [0.4.0,0.5)

Project Modules

There are no modules declared in this project.

Datetimepicker for Bootstrap 4

Build Status

The js and css files had been changed to the suit Bootstrap v4.

Since Bootstrap 4 removed the glyphicon, I replaced all icons with font-awesome v4, please includes the font-awesome css as well.

You can override font icon class like this -

// Using font-awesome 5 icons
  $.extend(true, $.fn.datetimepicker.defaults, {
    icons: {
      time: 'far fa-clock',
      date: 'far fa-calendar',
      up: 'fas fa-arrow-up',
      down: 'fas fa-arrow-down',
      previous: 'fas fa-chevron-left',
      next: 'fas fa-chevron-right',
      today: 'fas fa-calendar-check',
      clear: 'far fa-trash-alt',
      close: 'far fa-times-circle'
    }
  });

Click here for the official usage documentation.

Install

npm install pc-bootstrap4-datetimepicker

Changes

  • JS DOM class name control
  • CSS stylesheet
  • Replaced glyphicon with font-awesome icons

Versions

Version
4.17.50