Skip to content

Commit

Permalink
Add quotes for schema:temporal in JSON-LD outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
lszeremeta committed Apr 19, 2021
1 parent 09484d0 commit fc69245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/pl/edu/uwb/ii/sdfeater/File.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void parse(Molecule molecule, SDFEater.Format format, SDFEater.Subject subject)
" \"http://schema.org/creator\": {\n" +
" \"@id\": \"https://github.com/lszeremeta/SDFEater\"\n" +
" },\n" +
" \"http://schema.org/temporal\": " + Year.now().toString() + ",\n" +
" \"http://schema.org/temporal\": \"" + Year.now().toString() + "\",\n" +
" \"http://schema.org/url\": \"https://github.com/lszeremeta/SDFEater\"\n" +
" },\n");
break;
Expand Down Expand Up @@ -139,7 +139,7 @@ void parse(Molecule molecule, SDFEater.Format format, SDFEater.Subject subject)
" \"http://schema.org/creator\": {\n" +
" \"@id\": \"https://github.com/lszeremeta/SDFEater\"\n" +
" },\n" +
" \"http://schema.org/temporal\": " + Year.now().toString() + ",\n" +
" \"http://schema.org/temporal\": \"" + Year.now().toString() + "\",\n" +
" \"http://schema.org/url\": \"https://github.com/lszeremeta/SDFEater\"\n" +
" },\n");
break;
Expand Down

0 comments on commit fc69245

Please sign in to comment.