Added possibility for custom date formats registered from outside the capsule.