Current day expire time for news
Posted: 04 Sep 2017 22:11
Hi Bernd,
Is there a way to schedule news for the current day only? By setting the Max. Age to 1, the news are currently played during 24 hours relative to the file's timestamp.
It would be useful to have an option to check the validity relative to the day, instead of relative to the timestamp,
e. g.: I add an audio file in the news folder at 6 PM, I set the Max. Age to 1, after 11:59:59 PM the file expires. If I set the Max. Age to 2, it should expire the next day at midnight, not after 48 hours.
This would be used in situations where the news are only valid during the current day, having been added in the same day.
Thanks!
Andrei
Radio Terra @ Romania
Is there a way to schedule news for the current day only? By setting the Max. Age to 1, the news are currently played during 24 hours relative to the file's timestamp.
It would be useful to have an option to check the validity relative to the day, instead of relative to the timestamp,
e. g.: I add an audio file in the news folder at 6 PM, I set the Max. Age to 1, after 11:59:59 PM the file expires. If I set the Max. Age to 2, it should expire the next day at midnight, not after 48 hours.
This would be used in situations where the news are only valid during the current day, having been added in the same day.
Thanks!
Andrei
Radio Terra @ Romania