30 May '16, 8am

TimeMath2 -- small library for easy time arithmetics

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found! TimeMath2 -- small library for easy time arithmetics by Victor Shepelev — Today TimeMath2 is a small, no-dependencies, no-monkeypatching library attempting to make time arithmetics easier. Allows to floor/ceil Time or DateTime to any unit (from second to year), increase/decrease by any unit and so on, up to the generation of time sequences. Post a comment You can use basic HTML markup (e.g. <a>) or Markdown. Authenticate with GitHub As you are not logged in, you will be directed via GitHub to signup or sign in

Full article: http://www.rubyflow.com/p/6g9o05-timemath2-small-library-...

Tweets

Easy Breazy

finishline.com 29 May '16, 2pm

*Promotional offer only valid on eligible items. Look for the "free shipping" text on eligible items. Other items in your ...

@RunEatRepeat #dessert

@RunEatRepeat #dessert

runeatrepeat.com 01 Jun '16, 10pm

This S’mores Dip recipe is super easy and messy and delicious. Basically it’s perfect. Almost too perfect actually because...

I wrote a little something about time zones in ...

rickyoesting.com 02 Jun '16, 1am

We want an easy way to skip running certain tasks during certain hours of the day. In addtion, we want to be able to defin...

@netimpact

@netimpact

netimpact.org 03 Jun '16, 8pm

Barbara Donnini and Berenice Leung really just want one, simple thing: to make it easy and convenient for people to eat he...

Kniterate Updates the Knitting Machine to Be an...

spectrum.ieee.org 30 May '16, 3pm

Knitting machines are anything but new. The 1801 Jacquard loom , an ancestor to today’s knitting machines, was the first p...

Rails associations are awesome and poisonous at...

rubyflow.com 29 May '16, 3pm

Rails associations are awesome and poisonous at the same time by Robert Pankowecki — Today One of the biggest problems tha...