Skip to content

timjbray/time-to-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pair Programming exercise

Write an function that converts time into the corresponding english words - eg. '8:30' -> 'half past eight'

Examples

  • '0:00' > 'midnight'
  • '12:00' > 'midday'
  • '2:00' > 'two o'clock'
  • '2:03' > 'three past two'
  • '2:11' > 'eleven past two'
  • '2:15' > 'quarter past two'
  • '2:30' > 'half past two'
  • '2:33' > 'twenty seven to three'
  • '2:40' > 'twenty to three'
  • '2:45' > 'quarter to three'
  • '2:55' > 'five to three'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published