Skip to content

Commit

Permalink
fix: fix date format error. (#25) 5e29314
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 29, 2023
1 parent 9b5ff9e commit 3c990c7
Show file tree
Hide file tree
Showing 57 changed files with 84 additions and 72 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
Preview of version 1 documentation is available [here](https://raw.githack.com/uiwjs/react-json-view/v1-docs/index.html).
30 changes: 15 additions & 15 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"files": {
"main.css": "/static/css/main.020a7543.css",
"main.js": "/static/js/main.3c327a2f.js",
"refractor-prismjs-vendor.0abbb2f3.js": "/static/js/refractor-prismjs-vendor.0abbb2f3.086bbe5c.js",
"react-vendor.js": "/static/js/react-vendor.c7475ed3.js",
"refractor-prismjs-vendor.3665b250.js": "/static/js/refractor-prismjs-vendor.3665b250.f12b46a8.js",
"refractor-prismjs-vendor.a81a7d65.js": "/static/js/refractor-prismjs-vendor.a81a7d65.de08a6f1.js",
"main.js": "/static/js/main.a25122dc.js",
"refractor-prismjs-vendor.0abbb2f3.js": "/static/js/refractor-prismjs-vendor.0abbb2f3.f135524b.js",
"react-vendor.js": "/static/js/react-vendor.e0136f04.js",
"refractor-prismjs-vendor.3665b250.js": "/static/js/refractor-prismjs-vendor.3665b250.2b7fcd7b.js",
"refractor-prismjs-vendor.a81a7d65.js": "/static/js/refractor-prismjs-vendor.a81a7d65.d6447a9a.js",
"index.html": "/index.html",
"main.020a7543.css.map": "/static/css/main.020a7543.css.map",
"main.3c327a2f.js.map": "/static/js/main.3c327a2f.js.map",
"refractor-prismjs-vendor.0abbb2f3.086bbe5c.js.map": "/static/js/refractor-prismjs-vendor.0abbb2f3.086bbe5c.js.map",
"react-vendor.c7475ed3.js.map": "/static/js/react-vendor.c7475ed3.js.map",
"refractor-prismjs-vendor.3665b250.f12b46a8.js.map": "/static/js/refractor-prismjs-vendor.3665b250.f12b46a8.js.map",
"refractor-prismjs-vendor.a81a7d65.de08a6f1.js.map": "/static/js/refractor-prismjs-vendor.a81a7d65.de08a6f1.js.map"
"main.a25122dc.js.map": "/static/js/main.a25122dc.js.map",
"refractor-prismjs-vendor.0abbb2f3.f135524b.js.map": "/static/js/refractor-prismjs-vendor.0abbb2f3.f135524b.js.map",
"react-vendor.e0136f04.js.map": "/static/js/react-vendor.e0136f04.js.map",
"refractor-prismjs-vendor.3665b250.2b7fcd7b.js.map": "/static/js/refractor-prismjs-vendor.3665b250.2b7fcd7b.js.map",
"refractor-prismjs-vendor.a81a7d65.d6447a9a.js.map": "/static/js/refractor-prismjs-vendor.a81a7d65.d6447a9a.js.map"
},
"entrypoints": [
"static/js/refractor-prismjs-vendor.3665b250.f12b46a8.js",
"static/js/refractor-prismjs-vendor.a81a7d65.de08a6f1.js",
"static/js/refractor-prismjs-vendor.0abbb2f3.086bbe5c.js",
"static/js/react-vendor.c7475ed3.js",
"static/js/refractor-prismjs-vendor.3665b250.2b7fcd7b.js",
"static/js/refractor-prismjs-vendor.a81a7d65.d6447a9a.js",
"static/js/refractor-prismjs-vendor.0abbb2f3.f135524b.js",
"static/js/react-vendor.e0136f04.js",
"static/css/main.020a7543.css",
"static/js/main.3c327a2f.js"
"static/js/main.a25122dc.js"
]
}
8 changes: 4 additions & 4 deletions badges.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><meta name="keywords" content="react,react-component,array-viewer,base-16,component,interactive,interactive-json,json,json-component,json-display,json-tree,json-view,json-viewer,json-inspector,json-tree,react,react-component,react-json,theme,tree,tree-view,treeview,jaywcjlove"><meta name="description" content="A React component for displaying and editing javascript arrays and JSON objects."><link rel="shortcut icon" href="/favicon.ico"><title>react-json-view</title><script defer="defer" src="./static/js/refractor-prismjs-vendor.3665b250.f12b46a8.js"></script><script defer="defer" src="./static/js/refractor-prismjs-vendor.a81a7d65.de08a6f1.js"></script><script defer="defer" src="./static/js/refractor-prismjs-vendor.0abbb2f3.086bbe5c.js"></script><script defer="defer" src="./static/js/react-vendor.c7475ed3.js"></script><script defer="defer" src="./static/js/main.3c327a2f.js"></script><link href="./static/css/main.020a7543.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><meta name="keywords" content="react,react-component,array-viewer,base-16,component,interactive,interactive-json,json,json-component,json-display,json-tree,json-view,json-viewer,json-inspector,json-tree,react,react-component,react-json,theme,tree,tree-view,treeview,jaywcjlove"><meta name="description" content="A React component for displaying and editing javascript arrays and JSON objects."><link rel="shortcut icon" href="/favicon.ico"><title>react-json-view</title><script defer="defer" src="./static/js/refractor-prismjs-vendor.3665b250.2b7fcd7b.js"></script><script defer="defer" src="./static/js/refractor-prismjs-vendor.a81a7d65.d6447a9a.js"></script><script defer="defer" src="./static/js/refractor-prismjs-vendor.0abbb2f3.f135524b.js"></script><script defer="defer" src="./static/js/react-vendor.e0136f04.js"></script><script defer="defer" src="./static/js/main.a25122dc.js"></script><link href="./static/css/main.020a7543.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
2 changes: 1 addition & 1 deletion lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/arrow/TriangleArrow.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/arrow</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/arrow/TriangleSolidArrow.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/arrow</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/arrow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1><a href="../../index.html">All files</a> src/arrow</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/comps/ellipsis.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/comps</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/comps/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1><a href="../../index.html">All files</a> src/comps</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/comps/meta.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/comps</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/copied.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> copied.
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/countInfoExtra.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/editor</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/icon/add.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/edito
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/icon/delete.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/edito
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/icon/edit.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/edito
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/icon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h1><a href="../../../index.html">All files</a> src/editor/icon</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ <h1><a href="../../index.html">All files</a> src/editor</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/editor</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/editor/objectKey.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/editor</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
4 changes: 2 additions & 2 deletions lcov-report/src/editor/value.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/editor</
<span class="cstat-no" title="statement not covered" > typeStr = 'undefined';</span>
} else <span class="missing-if-branch" title="else path not taken" >E</span>if (typeof text === 'string') {
try {
<span class="missing-if-branch" title="if path not taken" >I</span>if (text &amp;&amp; text.length &gt; 10 &amp;&amp; <span class="branch-2 cbranch-no" title="branch not covered" >!isNaN(Date.parse(text)))</span> {
<span class="missing-if-branch" title="if path not taken" >I</span>if (text &amp;&amp; text.length &gt; 19 &amp;&amp; <span class="branch-2 cbranch-no" title="branch not covered" >!isNaN(Date.parse(text)))</span> {
const dt = <span class="cstat-no" title="statement not covered" >new Date(text);</span>
<span class="cstat-no" title="statement not covered" > text = dt;</span>
<span class="cstat-no" title="statement not covered" > typeStr = 'date';</span>
Expand Down Expand Up @@ -595,7 +595,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/editor</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ <h1><a href="../index.html">All files</a> src</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> index.t
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/node.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> node.ts
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/semicolon.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> semicol
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/store.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> store.t
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/theme/basic.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/theme</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/theme/dark.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/theme</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/theme/github.dark.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/theme</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion lcov-report/src/theme/github.light.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/theme</a
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-21T05:24:45.402Z
at 2023-11-29T10:18:52.584Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 3c990c7

Please sign in to comment.