Yosemite Calendar 24 hour clock New Event

I do not have Yosemite but on Mavericks you can set it up as follows:

Open system preferences Languages and Regions

Click on the 24 Hour time format.

That should change the time format in Calender.

time

I can enter any time (as 2 digits)

Let me know if it works in Yosemite.