eonasdan-bootstrap-datetimepicker

WebJar for eonasdan-bootstrap-datetimepicker

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-pingcheng-bootstrap4-datetimepicker
Last Version

Last Version

4.17.45
Release Date

Release Date

Type

Type

jar
Description

Description

eonasdan-bootstrap-datetimepicker
WebJar for eonasdan-bootstrap-datetimepicker
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download github-com-pingcheng-bootstrap4-datetimepicker

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bower : jquery jar [1.8.3,)
org.webjars.bower : moment jar [2.10.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.45