ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
176 stars 7 forks source link

Simplify getDatesInMonthU #5

Closed ghost closed 6 years ago

ghost commented 6 years ago

Also, I have a question - why did you define your own date format (for converting dates to strings) instead of just using Nim's default one? And yeah, I'll probably make some more of these PRs because in some cases your code can be simplified a lot.

ThomasTJdev commented 6 years ago

Thanks for PR. Good question - but I have no answer for you :)

The proc getDaysInMonthU is not used except in the deprecated proc DEPRECATEDdateDiff. So I'm going to do some cleanup.