Provides consistent time formatting and alternative format on mouse hover-over.

  • {{time|17:30}} gives 17:30
  • {{time|17:30|21:00}} gives 17:3021:00
  • {{time|5:30PM}} gives 5:30PM
  • {{time|5:30PM|9:00PM}} gives 5:30PM9PM
  • {{time|5:30AM}} gives 5:30AM
  • {{time|5:30AM|9:00AM}} gives 5:30AM9AM
  • {{time|5:30 pm}} gives 5:30PM
  • {{time|17h00}} gives 17:00
  • {{time|6PM}} gives 6PM
  • {{time|12:00|00:00}} gives 12:0000:00
  • {{time|12:00PM|12:00AM}} gives noonmidnight

Note

edit

"Midnight" is not a valid input for the template. Use "12AM" or "00:00" instead. It will produce "midnight" as the output.

See also

edit