Skip to content

Datetime Error on Newsletter Template #5037

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

Closed
davideperrotta opened this issue Jun 15, 2016 · 16 comments
Closed

Datetime Error on Newsletter Template #5037

davideperrotta opened this issue Jun 15, 2016 · 16 comments
Assignees
Labels
bug report Component: Customer Event: dmcdindia Fixed in 2.3.x The issue has been fixed in 2.3 release line good first issue Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: PR Created Indicates that Pull Request has been created to fix issue Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@davideperrotta
Copy link

Steps to reproduce

  1. Go to Admin->Marketing->Newsletter Template
  2. Select "Queue Newsletter" from right dropdown
  3. Select a "Queue Date Start" and try to save it

Expected result

  1. Saved

Actual result

  1. DateTime::__construct(): Failed to parse time string (29/giu/2016 01:22:19) at position 0 (2): Unexpected character

Temporary Solution

Insert data manually before hour in this way:
2016/06/29

this problem maybe doesn't affect who uses this data format yet

@PierAlex
Copy link

PierAlex commented Jul 1, 2016

Same problem on Magento 2.1.0.

@vkorotun vkorotun removed the MX label Aug 4, 2016
@antboiko antboiko added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Aug 26, 2016
@antboiko
Copy link

Hi @davideperrotta , thanks for reporting this issue. Internal ticket MAGETWO-57643 was created.

Best,
Anton.

@LuisChaves
Copy link

Already have a definitive solution on this issue? I'm using Magento 2.1.7 and the error continues.

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Component: Customer Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 11, 2017
@magento-engcom-team magento-engcom-team added Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed 2.1.x Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Oct 17, 2017
@magento-engcom-team
Copy link
Contributor

@davideperrotta, thank you for your report.
We've created internal ticket(s) MAGETWO-57643 to track progress on the issue.

@magento-engcom-team magento-engcom-team added the Event: distributed-cd Distributed Contribution Day label Mar 19, 2018
@RomanMichak
Copy link

#distributed-cd

@RomanMichak
Copy link

Issue detected in DateTime construct when input date on it_CH localization include "giu" month name. A good solution would be to change the used date format from IntlDateFormatter::MEDIUM to IntlDateFormatter::SHORT, as in other forms in admin it used SHORT format anyway.
But that solution caused another issue, which connected to different datetime format set in /Magento/Newsletter/Block/Adminhtml/Queue/Edit/Form.php and datepicker from a template.
So I decide to rewrite that Edit/Form block to ui component as it is for other admin edit forms.
It is in progress now, and PR will be created later.

@sidolov sidolov added good first issue and removed Event: distributed-cd Distributed Contribution Day labels Apr 14, 2018
@marco7319
Copy link

same problem with magento 223

@mrkhoa99
Copy link
Contributor

@RomanMichak can I work on this issue or you are still working on it?

@RomanMichak
Copy link

@mrkhoa99 yes, sure, you can assign ticket to yourself and work on it

@patelnimesh1988
Copy link
Contributor

I am working on this at #dmcdindia

@magento-engcom-team
Copy link
Contributor

@patelnimesh1988 thank you for joining. Please accept team invitation here and self-assign the issue.

@patelnimesh1988
Copy link
Contributor

I am working on this issue

@patelnimesh1988
Copy link
Contributor

I am working on this issue

@rodrigowebjump
Copy link
Member

@patelnimesh1988 How is the progress on this issue?

@TomashKhamlai TomashKhamlai added the Progress: PR Created Indicates that Pull Request has been created to fix issue label Oct 25, 2018
@sidolov sidolov added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Nov 6, 2018
@sidolov sidolov closed this as completed Nov 6, 2018
magento-engcom-team pushed a commit that referenced this issue Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Customer Event: dmcdindia Fixed in 2.3.x The issue has been fixed in 2.3 release line good first issue Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: PR Created Indicates that Pull Request has been created to fix issue Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests