rss-feeder-mobilizon/node_modules/.cache/esm/3ef8332645677575.js

19 lines
537 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

_456.x([["default",()=>_456.o]]);const moment = require("moment");
class utils {
convertRssDate(rssDate){
let converted = moment(rssDate).format('YYYY-MM-DD LTS').slice(0,-2).concat(".000000") ;// in js format like 2021-03-12T19:00:00Z
console.log('converted', converted)
// like 2021-01-03 15:31:02.918940
return converted
}
testdateconvert(){
let converted = this.convertRssDate('2021-03-12T19:00:00Z')
console.log('converted', converted)
}
}
_456.d(utils);