The customers did find out at the last minute. Weeks notice is last minute.
Well, no, it's literally not. It's actually a reasonably long lead time for “going out of business”, which basically no one ever announces before essentially all hope of finding a way to keep the business running is exhausted, which intrinsically means there is little runway left.
If this were a tangible product, a week notice would be fine since it gives customers time to stock up.