jorgeortiz85 / scala-time

A Scala wrapper for Joda Time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toDateTime

merlin-hst opened this issue · comments

Hello,

I've just found a problem with the toDateTime method of the DateMidnight object:

this works


 new DateTime() + 1.day toDate()

this works too


 new DateMidnight() + 1.day - 1.millis

this works not


 new DateMidnight() + 1.day toDateTime()  - 1.millis
 ==> value - is not a member of Unit

Thank you