Giter Site home page Giter Site logo

beygi / bootstrap-persian-datetimepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eonasdan/tempus-dominus

39.0 39.0 6.0 2.34 MB

persian (jalali) Date/time picker widget based on twitter bootstrap

License: MIT License

PowerShell 0.33% JavaScript 76.98% CSS 19.34% HTML 3.35%

bootstrap-persian-datetimepicker's People

Contributors

afanasy avatar beygi avatar brendanebers avatar caponica avatar csnauwaert avatar davidrojo avatar eonasdan avatar glepretre avatar howbazaar avatar hqmatics avatar joelkraft avatar mcarepa avatar nelsonblaha avatar nikoskalogridis avatar orneryd avatar pavarnos avatar peterdavehello avatar relu avatar rgripper avatar rodolfosilva avatar stanhu avatar suy avatar sztupy avatar tarruda avatar thinkscape avatar timblack1 avatar trevors avatar ttmelki avatar williewheeler avatar zpaulovics avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bootstrap-persian-datetimepicker's Issues

TypeError: moment is undefined

Salam
I use persian date time picker, with this code:

  <script type="application/javascript" src="/plugins/moment.js"></script>
  <script type="application/javascript" src="/plugins/bootstrap-persian-datetimepicker/js/bootstrap-persian-datetimepicker.js"></script>

but this error happens:

TypeError: moment is undefined [Learn More]        bootstrap-persian-datetimepicker.js:36:5
TypeError: $(...).datetimepicker is not a function [Learn More]        add:885:13

I test moment function in developer tools (Firefox) and it's work.
How can I fix this error?

Problem with "DD-MM-YYYY" format?

I have problem with format

$('.datetimepicker').datetimepicker({
   format: 'DD-MM-YYYY'
});

It have problem when onfocus on the text box (messing value).

e.size is not a function

jquery.min.js:2 Uncaught TypeError: e.size is not a function
at c (bootstrap-persian-datetimepicker.min.js:3)
at HTMLDivElement. (bootstrap-persian-datetimepicker.min.js:3)
at Function.each (jquery.min.js:2)
at r.fn.init.each (jquery.min.js:2)
at r.fn.init.a.fn.datetimepicker (bootstrap-persian-datetimepicker.min.js:3)
at HTMLDocument. (index.html?_ijt=ub3h0fes8chh3rfkfkqfp93ggl:38)
at j (jquery.min.js:2)
at k (jquery.min.js:2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.