You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
date suffix is hard coded
working solution attached
still not glad about remaining hardcoded regex in
datePicker.prototype.updateStatus 3times
datePicker.prototype.setDateFromInput once
var parseDateString case "S" once
0c2d1ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
date suffix is hard coded
working solution attached
still not glad about remaining hardcoded regex in
datePicker.prototype.updateStatus 3times
datePicker.prototype.setDateFromInput once
var parseDateString case "S" once
languagefile ------------------------------------------------
var fdLocale = {
fullMonths:["January","February","March","April","May","June","July","August","September","October","November","December"],
monthAbbrs:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],
fullDays: ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
dayAbbrs: ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],
daySuffix: ["th", "st", "nd", "rd"],
titles: ["Previous month","Next month","Previous year","Next year", "Today", "Open Calendar", "wk", "Week [[%0%]] of [[%1%]]", "Week", "Select a date", "Click \u0026 Drag to move", "Display \u201C[[%0%]]\u201D first", "Go to Today\u2019s date", "Disabled date:"],
firstDayOfWeek:0
};
try {
if("datePickerController" in window) {
datePickerController.loadLanguage();
};
} catch(err) {};
languagefile ------------------------------------------------
datepicker ------------------------------------------------
/*! DatePicker v6.3.4 MIT/GPL2 @freqdec */
var datePickerController = (function datePickerController() {
console.log("trueBody.clientWidth" + trueBody.clientWidth)
console.log(sOffsets)
o.div.style.left = Number(parseInt(trueBody.clientWidth+scrollLeft) < parseInt(osw+pos[0]) ? Math.abs(parseInt((trueBody.clientWidth+scrollLeft) - osw)) : pos[0]) + "px";
o.div.style.top = (bSpace > tSpace) ? Math.abs(parseInt(pos[1] + elem.offsetHeight + 2)) + "px" : Math.abs(parseInt(pos[1] - (osh + 2))) + "px";
if(oldIE === 6) {
o.iePopUp.style.top = o.div.style.top;
o.iePopUp.style.left = o.div.style.left;
o.iePopUp.style.width = osw + "px";
o.iePopUp.style.height = (osh - 2) + "px";
};
};
0c2d1ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noFadeEffect not working if css support
possibly some where here ?