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
修复
var getCurrValue = function (){ var mats = jet.reMatch(that.format), isEmpty = that.getValue() != "",curVal = [], parmat = that.dlen == 7 ? "hh:mm:ss" : "YYYY-MM"+ (that.dlen <= 2 ? "":"-DD"); //修改 var result = that.valCell.value; result = result.substr(0,11); var nowTime = [jet.parse(jet.getDateTime({}), parmat)]; nowTime = nowTime[0]; var time1 = new Date(result).setHours('0'); var time2 = new Date(nowTime).setHours('0'); var nDays = (parseInt((time1 - time2) / 1000 / 3600 / 24)); var redate = { DD: nDays }; that.selectValue = [jet.parse(jet.getDateTime(redate), parmat)]; }
The text was updated successfully, but these errors were encountered:
谢谢你的参与
Sorry, something went wrong.
No branches or pull requests
修复
The text was updated successfully, but these errors were encountered: