Skip to content

compters/bootstrap-datetimepicker

 
 

Repository files navigation

Forked from http://www.eyecon.ro/bootstrap-datepicker/

See documentation here.

#Example for Bootstrap V3

<div class='well'>
	<div class='input-group date' id='datetimepicker1'>
		<input type='text' class="form-control"/>
		<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
	</div>
</div>
$('#datetimepicker1').datetimepicker();

If data-format='MM/dd/yyyy hh:mm:ss' is not included on the input field or the div the plugin will use MM/dd/yyyy hh:mm:ss by default or MM/dd/yyyy if you have pickTime set to false or hh:mm:ss if you have pickDate set to false. The plugin will also leave the :ss off if you have pickSeconds set to false

About

Date/time picker widget based on twitter bootstrap

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.7%
  • CoffeeScript 18.8%
  • CSS 4.3%
  • Shell 1.2%