HumanSignal / HumanSignal/label-studio

Can't see DateTime in docs and playground.

Open
#6,804 1 comment 0 reactions 0 assignees View on GitHub
community_needs-information
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
Nothing is shown for DateTime on the previews of these pages.

- https://labelstud.io/tags/datetime
- https://labelstud.io/playground?config=%3CView%3E%0A%20%20%3CText%20name%3D%22txt%22%20value%3D%22%24text%22%20%2F%3E%0A%20%20%3CDateTime%20name%3D%22datetime%22%20toName%3D%22txt%22%20only%3D%22date%22%20%2F%3E%0A%3C%2FView%3E

**Expected behavior**
Something is shown.

**Screenshots**
スクリーンショット 2024-12-18 11 44 55
スクリーンショット 2024-12-18 11 45 17

**Environment (please complete the following information):**
- OS: mac
- Label Studio Version: I don't know.

**Additional context**
Console logs.

```
styles.css:1


GET https://labelstud.io/fonts/Hellix-Regular.woff2 net::ERR_ABORTED 404 (Not Found)
styles.css:1


GET https://labelstud.io/fonts/Hellix-SemiBold.woff2 net::ERR_ABORTED 404 (Not Found)
VM1360 jquery.min.js:2 Uncaught Error: No model registered for tag: datetime
Available models:
audio
audioplus
hypertext
polygonregion
brushregion
keypointregion
rectangleregion
ellipseregion
image
text
channel
timeseries
label
labels
paragraphlabels
textarearegion
textarea
choice
choices
rating
paragraphs
video
brush
brushlabels
hypertextlabels
keypoint
keypointlabels
list
pairwise
polygon
polygonlabels
ranker
rectangle
rectanglelabels
shortcut
taxonomy
timeserieslabels
ellipse
ellipselabels
relations
relation
dialog
header
table
view
style
filter
panel
collapse
timeseriesregion
at e.value (VM1361 main.js:2:1294947)
at Function.value (VM1361 main.js:2:1922206)
at e.value (VM1361 main.js:2:2079490)
at Object.validate (VM1361 main.js:2:2093077)
at be (VM1361 main.js:2:94998)
at r (VM1361 main.js:2:94692)
at VM1361 main.js:2:33935
at ke (VM1361 main.js:2:34178)
at Object.r (VM1361 main.js:2:34354)
at Object.o (VM1361 main.js:2:2090702)
```

https://github.com/HumanSignal/label-studio/blob/e76ac502039cc1c275b1d27ca881e9a1d999e3e6/web/libs/editor/src/tags/control/DateTime.jsx#L431

it seems registered...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.