@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.cjs.js CHANGED
@@ -4217,8 +4217,8 @@ function days$1({
4217
4217
 
4218
4218
  if (method_code === "0"){ // 日结
4219
4219
  //结算时点
4220
- let checkin0 = new Date(checkin.toDateString()),
4221
- checkout0 = new Date(checkout.toDateString());
4220
+ let checkin0 = new Date(checkin),
4221
+ checkout0 = new Date(checkout);
4222
4222
 
4223
4223
  if (checkin0 === checkout0){ // 当日不考虑结算时点
4224
4224
  return 1;