标签:oda str his new 比较 span 操作 == weight
比较两个日期是否同一天:
return (new Date().toDateString() === new Date(str).toDateString());
一个日期减去一天:
this.date = new Date(this.date - 24 * 60 * 60 * 1000);
标签:oda str his new 比较 span 操作 == weight
原文地址:http://www.cnblogs.com/guazi/p/6794209.html