DEV Community

Discussion on: 9 Steps to Get 100 Stars on GitHub

Collapse
 
anatolyscherbakov profile image
Anatoly Scherbakov

This is one great DSL to express datetime values! Looks very nice and readable.

Collapse
 
jkgan profile image
Gan Jun Kai

Thanks! This is inspired by Ruby on Rails where in Rails you only need to write 1.day.ago (without parenthesis). It is even english-ish.