Gald to hear if its work fine on your side. The code on above only affects the post date on the single post. For the post date on the block post module, you will need to setup it on each block post module setting. Do you want to implement this thing for all post date?
Looking forward to hearing from you and don’t forget to leave 5 stars rating for JNews 😀