Temporal behaviour of the thermal model of hard X-ray bursts