These are the resources and the settings for my lock screen. Final result [Works fine for 12hr time format]: