How did you search for REFUND_TIME_REMAINING?
If you just search for REFUND_TIME_REMAINING it can't work.
Becuase REFUND_TIME_REMAINING contains %s. If you use string.format %s is a placeholder where we can put the time string.
But if you use REFUND_TIME_REMAINING as a argument for string.find it is now a regex string. And %s matches just one space char.
That's why I used string.format(BIND_TRADE_TIME_REMAINING, ".*"). That replaces %s with .* and .* matches with any string.
|