1 Star 0 Fork 1

tbs005/anima

forked from teleis/anima 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test3 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
qiuhd_2015 提交于 2018-05-31 11:58 . Update test3
startTimeChecked = selectedVal;
now = new Date(startTimeChecked[0],startTimeChecked[1] - 1,startTimeChecked[2],startTimeChecked[3],startTimeChecked[4]);
$('#port_publish_start_time').text(DateUtil.format(now,"yyyy/MM/dd hh:mm"));
$('#port_publish_setting_start_date').text(DateUtil.format(now,"yyyy年MM月dd日"));
$('#port_publish_setting_start_time').text(DateUtil.format(now,"hh:mm"));
var month = endTimeChecked[1];
endTimeChecked = selectedVal;
var now1 = new Date(endTimeChecked[0],endTimeChecked[1] - 1,endTimeChecked[2],endTimeChecked[3],endTimeChecked[4]);
console.log(now1.getMonth());
$('#port_publish_end_time').text(DateUtil.format(now1,"yyyy/MM/dd hh:mm"));
$('#port_publish_setting_end_date').text(DateUtil.format(now1,"yyyy年MM月dd日"));
$('#port_publish_setting_end_time').text(DateUtil.format(now1,"hh:mm"))
now = new Date(startTimeChecked[0],startTimeChecked[1] - 1,startTimeChecked[2],startTimeChecked[3],startTimeChecked[4]);
var startTime = DateUtil.format(now,"yyyy-MM-dd hh:mm");
var starTimeMills = now.getTime();
var hours = endTimeChecked[3];
now = new Date(endTimeChecked[0],endTimeChecked[1] - 1,endTimeChecked[2],hours,endTimeChecked[4]);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/tbs005/anima.git
git@gitee.com:tbs005/anima.git
tbs005
anima
anima
master

搜索帮助