Cleanp + note

This commit is contained in:
Bryan Ashby 2020-10-15 20:54:35 -06:00
parent 43a28e6c42
commit 37653545f3
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,7 @@ function stringToNullPaddedBuffer(s, bufLen) {
//
// Convert a FTN style DateTime string to a Date object
//
// :TODO: Name the next couple methods better - for FTN *packets*
// :TODO: Name the next couple methods better - for FTN *packets* e.g. parsePacketDateTime()
function getDateFromFtnDateTime(dateTime) {
//
// Examples seen in the wild (Working):
@ -66,7 +66,6 @@ function getDateFromFtnDateTime(dateTime) {
//
// :TODO: Use moment.js here
return moment(Date.parse(dateTime)); // Date.parse() allows funky formats
// return (new Date(Date.parse(dateTime))).toISOString();
}
function getDateTimeString(m) {