In isolation, this module looks OK. The interface is decent, although including "return_" in the method names adds little. The docs and automated tests look good enough.
But this module does not exist in insolation. There are many date/time modules to come before it, including the excellent DateTime suite.
Considering DateTime handles this task and more and is well tested through wide-use, it's hard for me to recommend this one.
The idea of focusing just on returning the current date is interesting, but really what most of this module does is try to make formatting a date easy, and the current date is just a special case of that.
I would rather see the effort applied to this module go into a DateTime formatting module, although I'm not convinced another one is needed.
5 out of 5 found this review helpful. Was this review helpful to you? Yes No