Commit 97466170 authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '13-fix-wrong-location' into 'master'

Resolve "fix wrong location"

Closes #13

See merge request histhub/wikidata-normalizer!24
parents e434e236 e6f3db67
......@@ -19,5 +19,5 @@ build:
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master
only:
- tags
......@@ -66,7 +66,7 @@ class WikiNormalizer extends Transform {
end: this.getEnd(obj),
typology: this.getInstanceOf(obj),
modification_date: `${date.getFullYear()}-${date.getMonth()}-${date.getDate()}`,
location: `${lat}, ${lon}`,
location: `${lat},${lon}`,
};
} catch (err) {
this.logger.error(`Transformer Error`);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment