Date Transformer in charts always shows December in Safari

* Describe the bug

I use a chart to display items by month. I also apply the data transformer MMM to show the month name. It works well in the Chrome browser; however, in Safari, this transformer always shows “December” instead of the current month.

In Chrome, all dates in the chart display correctly, but in Safari, only “December” appears.

I have attached screenshots of this issue.

This bug affects all date MMM or MMMM transformers, causing all charts to show “Dec” or “December” in Safari instead of the correct month.

* Environment

  • NocoBase version: NocoBase v1.8.26
  • Database type and version: PostgreSQL 12
  • Deployment Methods: Docker, Railway

* How To Reproduce

To reproduce the issue:

  1. Add a chart of items.
  2. Select a date field in the dimension with MM format.
  3. Add a transformer to this date field with MMM format.

Expected behavior

Correct name of the month must be shown.

Screenshots

Edit in Chrome


Adding tranformer in Chrome

Results in Safari