Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
breck7 committed Sep 15, 2024
1 parent eff9818 commit 4e8ac0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scroll-cli",
"version": "132.0.0",
"version": "132.0.1",
"description": "A language for scientists of all ages. A curated collection of tools for refining and sharing thoughts.",
"main": "scroll.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion parsers/tables.parsers
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ printTableParser
const content = ((columnCount === column ? words.slice(columnCount - 1).join(" ") : words[column - 1]) ?? "").toString()
if (col.isLink) continue
const isTimestamp = col.name.toLowerCase().includes("time") && /^\d{10}(\d{3})?$/.test(content)
const text = isTimestamp ? new Date(parseInt(content)).toLocaleString() : content
const text = isTimestamp ? new Date(parseInt(content.length === 10 ? content * 1000 : content)).toLocaleString() : content
let tagged = text
const link = words[col.linkIndex]
const isUrl = content.match(/^https?\:[^ ]+$/)
Expand Down
3 changes: 3 additions & 0 deletions releaseNotes.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ ciBadges.scroll
br
thinColumns

📦 132.0.1 9/14/2024
🏥 fix unix timestamps in printTable

📦 132.0.0 9/14/2024
🎉 Updated ScrollSDK to get new "subparticle" terminology
⚠️ BREAKING: see ScrollSDK breaking changes
Expand Down

0 comments on commit 4e8ac0f

Please sign in to comment.