|
@@ -166,10 +166,10 @@ dateFormat.i18n = {
|
|
|
};
|
|
|
|
|
|
// For convenience...
|
|
|
-Date.prototype.Format = function (mask, utc) {
|
|
|
+Date.prototype.FormatEnhance = function (mask, utc) {
|
|
|
return dateFormat(this, mask, utc);
|
|
|
};
|
|
|
-/*Date.prototype.Format = function (fmt) { //author: meizz
|
|
|
+Date.prototype.Format = function (fmt) { //author: meizz
|
|
|
var o = {
|
|
|
"M+": this.getMonth() + 1, //月份
|
|
|
"d+": this.getDate(), //日
|
|
@@ -183,7 +183,7 @@ Date.prototype.Format = function (mask, utc) {
|
|
|
for (var k in o)
|
|
|
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
|
return fmt;
|
|
|
-}*/
|
|
|
+}
|
|
|
//浏览器窗口大小变化重新加载
|
|
|
window.onresize=webSiteInit;
|
|
|
serializeObject = function(form) {
|