Older versions of Layout Editor (i.e. the last free version before a license was required) inject a bogus date and time into the BGNLIB record. This can't be parsed by datetime and so it fails and crashes. This is a workaround to allow for non-parseable entries in that record. If it is unable to parse, it replaces the entry with datetime.datetime.today().
What other programs do with BGNLIB data:
KLayout offers the option to not write anything to those fields, or to update them at write time. It doesn't attempt to parse them in any way though on read.
Layout Editor circa 2008/2009 does something strange and stupid on write, and ignores on read.
gdspy reads in whatever is there, but doesn't try anything fancy with it (i.e. parsing).
Older versions of Layout Editor (i.e. the last free version before a license was required) inject a bogus date and time into the BGNLIB record. This can't be parsed by datetime and so it fails and crashes. This is a workaround to allow for non-parseable entries in that record. If it is unable to parse, it replaces the entry with
datetime.datetime.today()
.What other programs do with BGNLIB data: