We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Like DateInputComponent, the developer should be able to define the date format on DateRangeInputComponent .
These are the changes that I made on the file: CoreComponents.JS //Line ~ ~1139
var format = (myself.dateFormat == undefined || myself.dateFormat == null)? 'yy-mm-dd' : myself.dateFormat;
$("#" + myself.htmlObject + " input").daterangepicker({ posX: offset.left + leftOffset, posY: offset.top + topOffset, earliestDate: earliestDate, latestDate: latestDate, //change begin dateFormat: format , //change End onOpen: function() { changed = closed = false; myself.startValue = null; myself.endValue = null; },
The text was updated successfully, but these errors were encountered:
Hey, there. Thanks for the contribution.
Any chance you'll do a pull request with that change? way faster to integrate the change into trunk
thanks!
Sorry, something went wrong.
Done
Thanks.
No branches or pull requests
Like DateInputComponent, the developer should be able to define the date format on DateRangeInputComponent .
These are the changes that I made on the file:
CoreComponents.JS
//Line ~ ~1139
var format = (myself.dateFormat == undefined || myself.dateFormat == null)? 'yy-mm-dd' : myself.dateFormat;
$("#" + myself.htmlObject + " input").daterangepicker({
posX: offset.left + leftOffset,
posY: offset.top + topOffset,
earliestDate: earliestDate,
latestDate: latestDate,
//change begin
dateFormat: format ,
//change End
onOpen: function() {
changed = closed = false;
myself.startValue = null;
myself.endValue = null;
},
The text was updated successfully, but these errors were encountered: