mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 13:36:16 +02:00
Cleanp + note
This commit is contained in:
parent
43a28e6c42
commit
37653545f3
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue