la5nta / wl2k-go

A Winlink framework for Go.
https://getpat.io
MIT License
50 stars 20 forks source link

fbb: Support yet another undocumented date header layout (2006-01-02 15:04) #40

Closed martinhpedersen closed 8 years ago

martinhpedersen commented 8 years ago

I've encountered yet another undocumented date header layout while playing around with winlink's Radio Only network.

The original message was sent with RMS Express to LA3F X-Rms-Originator: LA3F.

When downloaded via LA3F (one of my pickup points), the Date format was YYYY.MM.DD HH:MM. This is the previously seen undocumented/incorrect layout seen earlier (https://github.com/la5nta/wl2k-go/issues/29).

When downloaded via SM5RVH running RMS Relay-3.0.30.0, the date header was encoded using the layout YYYY-MM-DD HH:MM.

We need to support decoding messages with this layout. I really hope WDT will fix their code and/or the specification some day(!!).


For the record:

The Date: field is the UTC date and time the message was originated and is in the format YYYY/MM/DD HH:MM.

http://winlink.org/b2f

martinhpedersen commented 8 years ago

The complete path of the message: X-Rms-Path: LA3F@2016-06-26-08:44:04 PA3GJM@2016-06-26-08:49:20 SM5RVH@2016-06-26-08:56:56