Bug 5549 : Calendar needed a change array_ref to hash_ref