febs-browser
Advanced tools
Comparing version 0.8.59 to 0.8.60
@@ -159,5 +159,5 @@ 'use strict'; | ||
date.setHours( | ||
parseInt(strTime.substr(11, 2)), | ||
parseInt(strTime.substr(14, 2)), | ||
parseInt(strTime.substr(17, 2)), | ||
parseInt(strTime.substr(11, 2))||0, | ||
parseInt(strTime.substr(14, 2))||0, | ||
parseInt(strTime.substr(17, 2))||0, | ||
0); | ||
@@ -180,5 +180,5 @@ return date; | ||
date.setHours( | ||
parseInt(strTime.substr(8, 2)), | ||
parseInt(strTime.substr(10, 2)), | ||
parseInt(strTime.substr(12, 2)), | ||
parseInt(strTime.substr(8, 2))||0, | ||
parseInt(strTime.substr(10, 2))||0, | ||
parseInt(strTime.substr(12, 2))||0, | ||
0); | ||
@@ -310,5 +310,5 @@ | ||
date.setUTCHours( | ||
parseInt(strTimeUTC.substr(11, 2)), | ||
parseInt(strTimeUTC.substr(14, 2)), | ||
parseInt(strTimeUTC.substr(17, 2)), | ||
parseInt(strTimeUTC.substr(11, 2))||0, | ||
parseInt(strTimeUTC.substr(14, 2))||0, | ||
parseInt(strTimeUTC.substr(17, 2))||0, | ||
0); | ||
@@ -331,5 +331,5 @@ return date; | ||
date.setUTCHours( | ||
parseInt(strTimeUTC.substr(8, 2)), | ||
parseInt(strTimeUTC.substr(10, 2)), | ||
parseInt(strTimeUTC.substr(12, 2)), | ||
parseInt(strTimeUTC.substr(8, 2))||0, | ||
parseInt(strTimeUTC.substr(10, 2))||0, | ||
parseInt(strTimeUTC.substr(12, 2))||0, | ||
0); | ||
@@ -336,0 +336,0 @@ |
@@ -74,3 +74,3 @@ { | ||
"name": "febs-browser", | ||
"version": "0.8.59" | ||
"version": "0.8.60" | ||
} |
@@ -225,4 +225,17 @@ febs 库是一些常用的工具的合集; | ||
/** | ||
* @desc: 通过字符串获取date. getTime('2012-05-09 11:10:12') | ||
* @param strTime: 时间字符串. '2012-05-09 11:10:12' | ||
* @return: Date. | ||
*/ | ||
febs.date.getTime(strTime:string): Date; | ||
/** | ||
* @desc: 通过时间获取date. getTime2('20120509111012') | ||
* @param strTime: 时间字符串. '20120509111012' | ||
* @return: Date. | ||
*/ | ||
febs.date.getTime2(strTime:string): Date; | ||
/** | ||
* @desc: 通过世界时间获取date. getTimeFromUTC('2012-05-09 11:10:12') | ||
@@ -229,0 +242,0 @@ * @param strTimeUTC: 世界时间字符串. '2012-05-09 11:10:12' |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
657
2391579
44
24967
3