Skip to content

use JavaMail as a replacement for parseDateStr #1062

Closed

Description

@tomholub

part of #1051

Please see if there is any readily available date parsing library for email in Java that behaves similarly and passes our tests. If there is, please use it.

Activity

  1. added this to the 1.1.6 milestone on Mar 3, 2021
  2. DenBond7 commented on Mar 17, 2021

    @DenBond7
    Collaborator

    @tomholub

    javascript has a "magic" date parser we use that we'll need in Kotlin. Maybe some mail library has this (we use it to parse email headers)

    If we are going to use JavaMail to work with MIME messages we don't need to port parseDateStr to Kotlin. JavaMail does it himself

  3. DenBond7 commented on Mar 17, 2021

    @DenBond7
    Collaborator
  4. changed the title [-]port parseDateStr to Kotlin[/-] [+]use JavaMail as a replacement for parseDateStr[/+] on Mar 22, 2021
  5. DenBond7 commented on Mar 30, 2021

    @DenBond7
    Collaborator

    @tomholub Could you clarify where we use parseDateStr? I see usage in flowcrypt-android.js only.

  6. tomholub commented on Mar 30, 2021

    @tomholub
    CollaboratorAuthor

    If you don't use it, then you can skip this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions