Closed silviucpp closed 8 years ago
Thanks! You're right! I'll fix this shortly.
-Jesse
Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm On Apr 20, 2016 11:00 AM, "Silviu Caragea" notifications@github.com wrote:
beginningminute(Date) -> {{Y,M,D},{H,M,}} = to_date(Date), {{Y,M,D},{H,M,0}}.
Based on the code first line will match only in case Minute is equal with Month. Otherwise will fail...
M is used for both
Silviu
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/choptastic/qdate/issues/23
Fixed with https://github.com/choptastic/qdate/commit/4d42f5eddf7f33d915946d3dca718845c2285c57
Thanks again for pointing it out. I need to add some tests for these new functions.
beginningminute(Date) -> {{Y,M,D},{H,M,}} = to_date(Date), {{Y,M,D},{H,M,0}}.
Based on the code first line will match only in case Minute is equal with Month. Otherwise will fail...
M is used for both
Silviu