andrewmcveigh / cljs-time

A clj-time inspired date library for clojurescript.
342 stars 57 forks source link

Modifiers of Datetime #97

Closed LukasRychtecky closed 7 years ago

LukasRychtecky commented 7 years ago

Hi,

thanks for creating this library! I really like it.

What you think about extending DateTimeProtocol with set-hours, set-minutes, set-seconds and set-milliseconds? I use them in my project, thus I can create a PR if you want.

danielcompton commented 7 years ago

Dupe of #72.

andrewmcveigh commented 7 years ago

Thanks @danielcompton

Yep, as I mentioned in #72

I don't want to stray from the clj-time API. This library is purposefully a (as good as possible in js) mirror of the clj-time API, which in turn is based on the Joda-Time API.