Can postgresql internal log rotation configuration mechanism delete the
log files older than a specific period of time?
No.
It will work if you choose a filename pattern such that old files are
overwritten on some cycle. logrotate is a more flexible answer
of course.
regards, tom lane