Comment #7 on issue 142 by
Dimitri....@gmail.com: DA, DT, TM converters
http://code.google.com/p/pydicom/issues/detail?id=142
I seldom use the part of pydicom that writes DICOM files. I've spent a few
hours on it and I think I have understood enough of it:
- to add a test by merely inheriting WriteFileTests,
- to fix dataelem.py so that DA, DT, TM data elements are still created as
strings if datetime_conversion is not set.
I'm not sure I'm doing the right thing when it comes to initializing data
elements from datetime objects - see the __new__() method of DA, DT, TM
classes.