Closed boonya closed 8 years ago
Hey @boonya ,
You know, I'm not sure that it can be applicable to the current conception of the library, cause domain_models
conception is about creation of some kind of easy-to-use & easy-to-integrate domain modelling system, but not a data converter / filter / parser / processor / serializer etc...
BTW, dateparser
is awesome lib! Thanks for bringing it!
I close this this ticket, but feel free to reopen it, if you have any other ideas / suggestions about it.
I have suggestion... If we convert any types to specific type in
StrField
,InitField
and so on, than would be nice to convert string representation of datetime inDateTimeField
andDateField
. I have found python library called dateparser (https://dateparser.readthedocs.org/en/latest/). I've tried it -> https://gist.github.com/boonya/47ac31b2d74122b459fa and it works but I am not sure that we really need this one )