Commit 48b4f04e623b66fadda3dda11e4a6bfa8576de85
1 parent
4c835454
filters文件更新
Showing
1 changed file
with
1 additions
and
1 deletions
utils/filter.wxs
@@ -237,7 +237,7 @@ var filters = { | @@ -237,7 +237,7 @@ var filters = { | ||
237 | 237 | ||
238 | if(dateType === 2) { | 238 | if(dateType === 2) { |
239 | // N天后开始 | 239 | // N天后开始 |
240 | - begin_days = (o.begin_days === 0 ? o.begin_days : (o.begin_days - 1)) * 24 * 60 * 60 * 1000; | 240 | + begin_days = o.begin_days * 24 * 60 * 60 * 1000; |
241 | // 有效天数 | 241 | // 有效天数 |
242 | days = (o.effective_days - 1) * 24 * 60 * 60 * 1000; | 242 | days = (o.effective_days - 1) * 24 * 60 * 60 * 1000; |
243 | startDate = filters.format_time2(currentDate + begin_days); | 243 | startDate = filters.format_time2(currentDate + begin_days); |