steamutils 1.1.30 → 1.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -3
- package/package.json +1 -1
package/index.js
CHANGED
@@ -5046,12 +5046,13 @@ class SteamUser {
|
|
5046
5046
|
|
5047
5047
|
let timestamp = 0
|
5048
5048
|
let timestampStr = `${tradehistory_date} ${tradehistory_timestamp}`
|
5049
|
-
|
5049
|
+
//cccccccccccccccccc
|
5050
|
+
const timestampMoment = moment(`${tradehistory_date} ${tradehistory_timestamp}`, `D MMM, YYYY h:mma`, true).local(true)
|
5050
5051
|
if (!timestampMoment.isValid()) {
|
5051
5052
|
console.log(`${tradehistory_date} ${tradehistory_timestamp}`);
|
5052
5053
|
} else {
|
5053
|
-
|
5054
|
-
|
5054
|
+
timestamp = timestampMoment.unix()
|
5055
|
+
timestampStr = timestampMoment.format()
|
5055
5056
|
}
|
5056
5057
|
|
5057
5058
|
const tradehistory_event_description_el = tradehistoryrow_el.find('.tradehistory_event_description')
|