Re: [Rest2web-develop] DateUtil and None (ConfigObj)
Brought to you by:
mjfoord
From: Nicola L. <ni...@te...> - 2005-08-15 18:44:22
|
> I *could* implement a timestamp datatype using the ``parse`` function > from the third party DateUtil module. > > http://moin.conectiva.com.br/DateUtil#head-95324de690ad48fe8f91bdee9b5bf97b6b0911e9 Don't know what it does beyond the datetime standard one, maybe the time zones? Anyway, I'll look at it. > I *don't* actually need it - like you I record timestamps. What do you > think - YAGNI ? (or a useful reference implementation with a conditional > import.....) It would sure be nice, but I've had my share of headaches with timestamps... > Are you intending to remove the None test ? Yes. :-) I'm going to move the relevant two lines to Validator.check, and delete the rest. -- Nicola Larosa - ni...@te... Does it seem like I'm looking for an answer To a question I can't ask -- Norah Jones, Nightingale, Come Away with Me, 2001 |