beygi / bootstrap-persian-datetimepicker Goto Github PK
View Code? Open in Web Editor NEWThis project forked from eonasdan/tempus-dominus
persian (jalali) Date/time picker widget based on twitter bootstrap
License: MIT License
This project forked from eonasdan/tempus-dominus
persian (jalali) Date/time picker widget based on twitter bootstrap
License: MIT License
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?
I have problem with format
$('.datetimepicker').datetimepicker({
format: 'DD-MM-YYYY'
});
It have problem when onfocus on the text box (messing value).
date link with the latest version will not work
bootstrap 4 and latest version of the plugin with bootstrap 4
اجاره ماشین
update in datetimepicker to bootstrap 4
Hi!
Is there any option or function that can pass the gregorian format of selected date?
Hi @beygi,
I can't display jalali calendar in my project. (Displayed Gregorian calendar)
Regards
Deprecation warning: use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.