shogg / edifact

Read edifact into your Go data structures.
MIT License
18 stars 7 forks source link

issue with decoding 201 dates #13

Closed deftstar closed 8 months ago

deftstar commented 8 months ago

this seems to be wrong case dtmFormat201, dtmFormat203: format = "200601021504"

//decode.go 124

201 on edi docs it is represented as "0601021504" 201 YYMMDDHHMM

as such i am unable to decode dates

shogg commented 8 months ago

You are right. I'm fixing it right now.

shogg commented 8 months ago

I saw your commits, MalidivesPorts. You're so impatient. You're free to do what you want. Issue closed, in either way.

deftstar commented 8 months ago

thank you for the fix and yeah i was in a hurry but assumed it would be helpful to point out the issue.