S7NetPlus / s7netplus

S7.NET+ -- A .NET library to connect to Siemens Step7 devices
MIT License
1.29k stars 577 forks source link

Add support for reading/writing the legacy DATE (IEC date) datatype #506

Closed bonk-dev closed 11 months ago

bonk-dev commented 12 months ago

Solves #505

I did not bother with adding this type to struct serialization, because the DateTime type itself is not supported either. I might create a separate PR and add both the DateTime and IEC date to struct later on.

mycroes commented 11 months ago

Hi @bonk-dev, sorry for my late response. Thankfully @gfoidl did a review quickly and I agree with his comments. Only thing that would've been nice is test-cases for the new conversion, but I'll accept this as-is. Thanks a lot for your contribution!