|
@@ -709,10 +709,8 @@ export default {
|
|
|
|
|
|
// 日期转时间戳 2014-07-10
|
|
// 日期转时间戳 2014-07-10
|
|
function ycTime(t) {
|
|
function ycTime(t) {
|
|
- alert('1523257200000 ' + 1523257200000);
|
|
|
|
- let stringTime = t;
|
|
|
|
- // let stringTime = t + ':00';
|
|
|
|
- alert('stringTime: ' + stringTime);
|
|
|
|
|
|
+ let stringTime = t + ':00';
|
|
|
|
+ alert('new Date(stringTime) ' + new Date(stringTime));
|
|
let timestamp = Date.parse(new Date(stringTime));
|
|
let timestamp = Date.parse(new Date(stringTime));
|
|
alert('timestamp: ' + timestamp);
|
|
alert('timestamp: ' + timestamp);
|
|
timestamp = timestamp / 1000;
|
|
timestamp = timestamp / 1000;
|