Closed dchaplinsky closed 6 years ago
it does
On Wed, Dec 20, 2017 at 1:38 PM, Artem Hluvchynskyi < notifications@github.com> wrote:
@excieve commented on this pull request.
In utils/nacp_parser.py https://github.com/excieve/dragnet/pull/20#discussion_r158001035:
@@ -297,7 +297,7 @@ def _parse_me(cls, base_fname): resp["declaration"]["basename"] = os.path.basename(base_fname)
resp["intro"]["corrected"] = id_ in cls.corrected
- resp["intro"]["date"] = str(cls.parse_date(created_date).year)
- resp["intro"]["date"] = cls.parse_date(created_date).isoformat()
What I meant is to check if this format works well with this mapping: https://github.com/dchaplinsky/declarations.com. ua/blob/master/declarations_site/catalog/elastic_models.py#L733
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/excieve/dragnet/pull/20#discussion_r158001035, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIAckaiD3fa9EuNUIxBJ18uhpFH-wNkks5tCPGxgaJpZM4RGWGo .
Awwfuck: