Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date fields are serialized incorrectly #649

Closed
marshall007 opened this issue Mar 30, 2015 · 1 comment
Closed

Date fields are serialized incorrectly #649

marshall007 opened this issue Mar 30, 2015 · 1 comment

Comments

@marshall007
Copy link
Contributor

When uploading a form containing date fields, the serialized Date strings contain double quotes. Here's an example form submission (note the effective_date field):

------WebKitFormBoundary9l5lPA9GRtBjP1u9
Content-Disposition: form-data; name="type"

static
------WebKitFormBoundary9l5lPA9GRtBjP1u9
Content-Disposition: form-data; name="name"

2015 Pricing
------WebKitFormBoundary9l5lPA9GRtBjP1u9
Content-Disposition: form-data; name="effective_date"

"2015-03-31T05:00:00.000Z"
------WebKitFormBoundary9l5lPA9GRtBjP1u9
Content-Disposition: form-data; name="file"; filename="data.csv"
Content-Type: text/csv

------WebKitFormBoundary9l5lPA9GRtBjP1u9--
marshall007 added a commit to marshall007/ng-file-upload that referenced this issue Mar 31, 2015
danialfarid added a commit that referenced this issue Apr 12, 2015
Fix date form field serialization (#649)
danialfarid pushed a commit that referenced this issue Apr 13, 2015
…and some IE8-9 bugs and styling issue
@danialfarid
Copy link
Owner

Fixed in version 3.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants