Comments (5)
@jozemlakar Thanks for pointing it out. The PR #67 fixes this.
from dgc-java.
from dgc-java.
PR #67 removes all fractions. As test show, it should hold EXACTLY 6 digits for fractions.
from dgc-java.
6 fractions? From where did you get that information?
From the specification:
The date and time when the test sample was collected. The time MUST include information on the time zone. The value MUST NOT denote the time when the test result was produced.
Exactly 1 (one) non-empty field MUST be provided.
One of the following ISO 8601 formats MUST be used. Other options are not supported.
YYYY-MM-DDThh:mm:ssZ
YYYY-MM-DDThh:mm:ss[+-]hh
YYYY-MM-DDThh:mm:ss[+-]hhmm
YYYY-MM-DDThh:mm:ss[+-]hh:mm
Examples:
"sc": "2021-08-20T10:03:12Z" (UTC time)
"sc": "2021-08-20T12:03:12+02" (CEST time)
"sc": "2021-08-20T12:03:12+0200" (CEST time)
"sc": "2021-08-20T12:03:12+02:00" (CEST time)
from dgc-java.
Yes, I am aware of the spec. However test on dgc-testdata denied samples with 0 fraction digits. Tests might be wrong.
from dgc-java.
Related Issues (20)
- Schema updates HOT 1
- Barcode image as SVG
- Split into two artifacts
- Make Spring dependencies optional
- Add usage to validation
- Remove Lombok HOT 3
- Add support for test-type value set HOT 1
- Lower java.version to 1.8 HOT 6
- Java 8 build profile HOT 1
- Test testSimpleCreate in DefaultBarcodeCreatorTest fails on any computer running a system characterset other than "Latin I" HOT 3
- Update to 1.1.0 schema
- Make schema-version configurable ...
- Documentation DigitalCovidCertificate class link leads to 404 HOT 1
- Compilation fails due to Signature validation check failed on standard Ubuntu 20.04 HOT 1
- Implementation for CertificateProvider missing / documentation where to get the correct certificates is missing HOT 1
- DGCBarcodeDecoder fails to decode a valid 1.0.0 test result HOT 2
- -
- Denial of service in CBOR library HOT 1
- Cannot inherit from final class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgc-java.