Skip to content
This repository has been archived by the owner on Sep 28, 2019. It is now read-only.

Bug in IeTime56.cs #4

Open
MartinF95 opened this issue Apr 12, 2018 · 0 comments
Open

Bug in IeTime56.cs #4

MartinF95 opened this issue Apr 12, 2018 · 0 comments

Comments

@MartinF95
Copy link

MartinF95 commented Apr 12, 2018

I think there is a bug in the file IEC60870 --> IE --> IeTime56.cs. Why do you write in the methode below a "+1" for the month? When I use it, I'll get the wrong month.

public IeTime56(long timestamp, TimeZone timeZone, bool invalid)
{
...
 value[5] = (byte) (datetime.Month + 1);
...
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant