@yoooloo42/bean 1.0.37 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -4213,8 +4213,8 @@ function days$1({
4213
4213
 
4214
4214
  if (method_code === "0"){ // 日结
4215
4215
  //结算时点
4216
- let checkin0 = new Date(checkin.toDateString()),
4217
- checkout0 = new Date(checkout.toDateString());
4216
+ let checkin0 = new Date(checkin),
4217
+ checkout0 = new Date(checkout);
4218
4218
 
4219
4219
  if (checkin0 === checkout0){ // 当日不考虑结算时点
4220
4220
  return 1;