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

Data Format field doesn't seem to work with dates #920

Closed
luveqz opened this issue Aug 5, 2022 · 2 comments · Fixed by #921 or #932
Closed

Data Format field doesn't seem to work with dates #920

luveqz opened this issue Aug 5, 2022 · 2 comments · Fixed by #921 or #932
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product.

Comments

@luveqz
Copy link

luveqz commented Aug 5, 2022

Description:

In the Vizualizer wizard, I try to render a bar chart with dates; but if I fill the "Data Format" field, the rendered date is always December 1969.

Here I haven't set any format, yet the rendered date is a bit strange:

image

Now, when I set a format, all dates become "December 1969":

image

How to reproduce:

  1. Create a new Bar Chart (using ChartJS as a library).
  2. Populate it with this data:
Year,Austria,Bulgaria
date,number,number
2003-02-21,1336060,100361
2004-04-02,1538156,366849
  1. Set MMM yy as the Vertical axis "Data Format" (the field located at Settings > Vertical Axis Settings > Formatting).

Expected behaviour:

Dates are formatted using using UCI syntax (i.e, "Feb 2003", "Apr 2004").

Current behaviour:

All dates are rendered as "Dec 1969".

Technical info

  • WordPress v5.9.3
  • Visualizer: Tables and Charts for WordPress v3.7.10
  • Visualizer: Tables and Charts Manager for WordPress AddOn v1.10.7
@girishpanchal30 girishpanchal30 added the bug This label could be used to identify issues that are caused by a defect in the product. label Aug 8, 2022
girishpanchal30 added a commit that referenced this issue Aug 8, 2022
@girishpanchal30 girishpanchal30 linked a pull request Aug 8, 2022 that will close this issue
@girishpanchal30
Copy link
Contributor

Hello @luvejo,
Thank you for the report, I fixed the axis date format issue and you can see the changes in the next plugin release.

@vytisbulkevicius vytisbulkevicius linked a pull request Aug 29, 2022 that will close this issue
vytisbulkevicius added a commit that referenced this issue Aug 30, 2022
- Fix update axis baseline color #925 
- Update more features images #926
- Fix update minor grid line field #924 
- Add new filter for container attributes #922 
- Fix axis data format issue #920 
- Chart unique title #915 
- Fix block back button issue #930 
- Userguide broken documentation link #918
pirate-bot pushed a commit that referenced this issue Aug 30, 2022
##### [Version 3.7.11](v3.7.10...v3.7.11) (2022-08-30)

- Fix update axis baseline color [#925](#925)
- Update more features images [#926](#926)
- Fix update minor grid line field [#924](#924)
- Add new filter for container attributes [#922](#922)
- Fix axis data format issue [#920](#920)
- Chart unique title [#915](#915)
- Fix block back button issue [#930](#930)
- Userguide broken documentation link [#918](#918)
@pirate-bot
Copy link
Contributor

🎉 This issue has been resolved in version 3.7.11 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants