Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / timeLeft

Function: timeLeft()

timeLeft(end, now?): TimeLeft

The time left until end, in whole days, hours, minutes and seconds; zero once it has passed.

Parameters

end

number

now?

number

Returns

TimeLeft