I hope the pic will get uploaded.
Well. I have quite some fun doing the tests but these requirements are somewhat self-contradicting aren´t they? Or do I miss something here?
One output requires a string “12:004 AM” while it´s clearly statet that at 12:00 the period has to change from “AM” to “PM”.