Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Blama
    replied
    Hi Isomorphic,

    ah, yes. You mean this feature, don't you?

    I'll add the selected DateFormat then via setUploadFormFields() and do the conversion from String to Date with this format in batchUpload(). Before calling validateUploadData(), I'll convert the Date instance to a YYYY-MM-DD String.

    Thanks for the hint
    Blama

    Leave a comment:


  • Isomorphic
    replied
    We previously covered this. In the current version, to accept multiple formats for any type of field, you have to do preprocessing. If you'd like to consider a Feature Sponsorship to allow different parsing rules for various fields or field types, that would be a valid one.

    Leave a comment:


  • Blama
    started a topic BatchUploader: Support different date formats

    BatchUploader: Support different date formats

    Hi Isomorphic,

    could you make the expected date format expected by the BatchUploader configurable like you do with setUploadDelimiter(), setUploadEncoding(), and the recently added setUploadQuoteString()?

    Issue is the same as with the encoding - German Excel does save e.g. January, 1st, 2017 as "01.01.2017" and not "2017-01-01" by default.
    Importing those files is therefore not possible without manual preprocessing.

    Thank you & Best regards
    Blama
Working...
X