This project is read-only.
1
Vote

SentenceGLL.cs - date

description

I found this library very useful (Thank you!) but ran into an issue with the GLL sentence class.

I believe the GLL sentence class is referencing the wrong array element in the Populate function for getting the date.

I changed
if(SentenceItemExists(5)) m_dtUTC = Convert.ToDateTime(FormatTime(m_astrSentence[1]), CultureInfo.InvariantCulture);
to
if (SentenceItemExists(5)) m_dtUTC = Convert.ToDateTime(FormatTime(m_astrSentence[5]), CultureInfo.InvariantCulture);
to make it work. I'm not certain this is the correct fix.

comments