metabase / metabase/metabase

Date separators does not change format when date style is changed

Open
#12,696 0 comments 0 reactions 0 assignees View on GitHub
.Frontend Administration/Settings Customization/Formatting Customization/i18n Priority:P3 Type:New Feature Visualization/Chart Settings
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

**Describe the bug**
Options in date separators does not change format to D/M/YYYY when date style is changed to "7 January 2018" but it does when date style is changed to "7/1/2018"

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Admin'
2. Click on 'Formatting'
3. Change Date style to '7 January 2018'
4. See Date separators

**Expected behavior**
Date separators changes from 'M/D/YYYY' to 'D/M/YYYY' just like it does when date style is set to '7/1/2018'

**Screenshots**
Where the date separator change does work
![does work with dmy](https://user-images.githubusercontent.com/17967770/84553673-58529a80-ad32-11ea-84f2-fef5c158dc5f.JPG)

Where the change doesn't work
![should be dmy](https://user-images.githubusercontent.com/17967770/84553693-6f918800-ad32-11ea-83bd-c7626653ad6f.JPG)

**Information about your Metabase Installation:**

You can get this information by going to Admin -> Troubleshooting.

- Your browser and the version: Firefox 77.0
- Your operating system: Windows 10
- Your databases: Postgres
- Metabase version: v0.35.4
- Metabase hosting environment: Docker
- Metabase internal database: Postgres
- Metabase Report Timezone: Asia/Calcutta

Contributor guide

Open the contributing guide

Research direction

Start in Admin > Formatting and reproduce the issue by changing Date style to “7 January 2018,” then inspect the date separator behavior. Done means the separator changes from M/D/YYYY to D/M/YYYY for that style, matching the behavior of “7/1/2018”; the issue names no source file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, docker, postgresql
Domain
internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.