Skip to content

Commit

Permalink
date fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasnteireho committed Nov 11, 2024
1 parent 7fc1d34 commit 9201845
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions demo/viewer/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
<script main="@empty"
env="production"
config="../package.json!npm"
src="../dist/bundles/app.js?v=1729617802382"
src="../dist/bundles/app.js?v=1730921273458"
cache-key="v"
cache-version="1729617802382"
cache-version="1730921273458"
base-url="../">
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion index.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
errRepURL: ''
}));
</script>
<script src="node_modules/steal/steal.production.js?v=1729276857248" cache-key="v" cache-version="1729276857248" main="@caliorg/a2jviewer/app"></script>
<script src="node_modules/steal/steal.production.js?v=1730920994502" cache-key="v" cache-version="1730920994502" main="@caliorg/a2jviewer/app"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
errRepURL: ''
}));
</script>
<script src="node_modules/steal/steal.production.js?v=1729617380445" cache-key="v" cache-version="1729617380445" main="@caliorg/a2jviewer/app"></script>
<script src="node_modules/steal/steal.production.js?v=1730921214984" cache-key="v" cache-version="1730921214984" main="@caliorg/a2jviewer/app"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@caliorg/a2jviewer",
"version": "8.2.0-20",
"version": "8.2.0-21",
"description": "A2J Viewer standalone and preview app.",
"main": "a2jviewer/app",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/footer/footerVersion.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

const version = {
number: '8.2.0-20',
date: '2024-10-22'
number: '8.2.0-21',
date: '2024-11-06'
}

export default version
8 changes: 4 additions & 4 deletions src/mobile/pages/pages-vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,13 @@ export default DefineMap.extend('PagesVM', {
}

// slash delimited is not guaranteed supported everywhere
// so convert to
// so convert to ymd
let dateval = new Date(
dmy[2] + '-' +
dmy[1] + '-' +
dmy[0]
dmy[0] + '-' +
dmy[1]
)
return (dateval.toString() !== 'Invalid Date')
return (!isNaN(dateval))
}

/*
Expand Down

0 comments on commit 9201845

Please sign in to comment.