Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasnteireho committed Feb 26, 2024
1 parent 68c028d commit 0c3dc62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion index.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
window.less = {async: true, fileSync: true};
</script>

<script src=node_modules/steal/steal.production.js?v=1708929284926" cache-key="v" cache-version="1708929284926" main="a2jauthor/app"></script>
<script src=node_modules/steal/steal.production.js?v=1708929628150" cache-key="v" cache-version="1708929628150" main="a2jauthor/app"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
window.less = {async: true, fileSync: true};
</script>

<script src=node_modules/steal/steal.production.js?v=1708929628150" cache-key="v" cache-version="1708929628150" main="a2jauthor/app"></script>
<script src=node_modules/steal/steal.production.js?v=1708953946048" cache-key="v" cache-version="1708953946048" main="a2jauthor/app"></script>
</body>
</html>
15 changes: 2 additions & 13 deletions src/pages-tab/components/page-fields/page-fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,8 @@ export const PageFieldsVM = DefineMap.extend('PageFieldsVM', {
parseDateBound(boundedDate){
let textDate = "" // assume unfilled

console.log("YOYO" + boundedDate)

if (boundedDate){
//if set assume it's today

//textDate = Date.toString()

if (boundedDate !== "TODAY"){
textDate =
Expand All @@ -238,9 +234,7 @@ export const PageFieldsVM = DefineMap.extend('PageFieldsVM', {

}

console.log("DISCO" + textDate)

return textDate //Date.parse(textDate)
return textDate

},

Expand All @@ -257,15 +251,10 @@ export const PageFieldsVM = DefineMap.extend('PageFieldsVM', {
str =
str.substr(4,2) + '/' +
str.substr(6, 2) + '/' +
str.substr(0,4)

console.log("BRUV: " + str)

str.substr(0,4)

str = str.match(new RegExp(el.pattern || '.', 'g')).join('')

console.log("MANG: " + str)

return str

},
Expand Down

0 comments on commit 0c3dc62

Please sign in to comment.