eonasdan-bootstrap-datetimepicker

WebJar for eonasdan-bootstrap-datetimepicker

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
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.npm/github-com-pingcheng-bootstrap4-datetimepicker/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-pingcheng-bootstrap4-datetimepicker</artifactId>
    <version>4.17.45</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-pingcheng-bootstrap4-datetimepicker/
implementation 'org.webjars.npm:github-com-pingcheng-bootstrap4-datetimepicker:4.17.45'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-pingcheng-bootstrap4-datetimepicker/
implementation ("org.webjars.npm:github-com-pingcheng-bootstrap4-datetimepicker:4.17.45")
'org.webjars.npm:github-com-pingcheng-bootstrap4-datetimepicker:jar:4.17.45'
<dependency org="org.webjars.npm" 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.npm', module='github-com-pingcheng-bootstrap4-datetimepicker', version='4.17.45')
)
libraryDependencies += "org.webjars.npm" % "github-com-pingcheng-bootstrap4-datetimepicker" % "4.17.45"
[org.webjars.npm/github-com-pingcheng-bootstrap4-datetimepicker "4.17.45"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : bootstrap jar [3.3.0,4)
org.webjars.npm : jquery jar [1.8.3,2),[2.0.0,3)
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.45