Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimension unit not stored unless changed from the default #562

Open
ddeboer opened this issue Jan 24, 2022 · 0 comments
Open

Dimension unit not stored unless changed from the default #562

ddeboer opened this issue Jan 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ddeboer
Copy link
Member

ddeboer commented Jan 24, 2022

The unit of the dimension is only changed if it is changed from the default (e.g. from mm to cm). If you then change the unit back to mm, the unit is displayed.

So

Screenshot 2022-01-24 at 16 55 58

produces:

<#object-f04c43a1-39d3-4ae2-a209-01679a3bd62f-depth> a <http://schema.org/QuantitativeValue>;
    <http://schema.org/value> 1234.5.

While

Screenshot 2022-01-24 at 16 56 30

produces:

<#object-f04c43a1-39d3-4ae2-a209-01679a3bd62f-depth> a <http://schema.org/QuantitativeValue>;
    <http://schema.org/unitCode> "CMT";
    <http://schema.org/value> 1234.5.

Possibly a side-effect of #548.

@ddeboer ddeboer added the bug Something isn't working label Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant