Skip to content

latensified/glitch-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rubygems.org/gems/glitch-time

This is a port of the Glitch time converter documented here: api.glitch.com/docs/time/

In the world of Glitch a game day is four real hours long.

  • There are 308 days in a glitch year.

  • There are 24 hours in a day.

  • There are 60 minutes in an hour.

  • There are 4435200 real seconds in a game year.

  • There are 14400 real seconds in a game day.

  • There are 600 real seconds in a game hour.

  • There are 10 real seconds in a game minute.

The 308th day of the year, called Recurse, does not count as a weekday.

The Glitch epoch began at 1238562000 Unix time.

Knock yourself out. Just give me credit where due.

About

Glitch time and date class ported to Ruby, per spec: http://api.glitch.com/docs/time/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages