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

[v4] Option to change the date format in the admin dashboard #12216

Closed
1 of 2 tasks
abdonrd opened this issue Jan 17, 2022 · 5 comments
Closed
1 of 2 tasks

[v4] Option to change the date format in the admin dashboard #12216

abdonrd opened this issue Jan 17, 2022 · 5 comments
Labels
issue: feature request Issue suggesting a new feature source: core:admin Source is core/admin package

Comments

@abdonrd
Copy link
Contributor

abdonrd commented Jan 17, 2022

Feature request

Please describe your feature request

  • I have created my request on the Product Board before I submitted this issue
  • I have looked at all the other requests on the Product Board before I submitted this issue

Summary

Please, give an option to change the date format in the admin dashboard.
Right now it looks like:

Screenshot 2022-01-17 at 12 11 25

We wan to change it to just: 2021/10/27

Why is it needed?

Better user read.

Suggested solution(s)

In the v3 we could change it with the:

# extensions/content-manager/admin/src/utils/dateFormats.js

import { dateFormats as defaultDateFormats } from 'strapi-helper-plugin';

const dateFormats = {
  ...defaultDateFormats,
  date: 'YYYY/MM/DD',
  datetime: 'YYYY/MM/DD HH:mm',
  timestamp: 'YYYY/MM/DD HH:mm',
};

export default dateFormats;

But it would be much better to have the option from the global settings of the admin dashboard.

@kasonde kasonde added the issue: feature request Issue suggesting a new feature label Jan 17, 2022
@kasonde kasonde added this to To be reviewed (Open) in Content - Old via automation Jan 17, 2022
@kasonde kasonde added the source: core:admin Source is core/admin package label Jan 17, 2022
@yanniskadiri
Copy link

Thanks @abdonrd, we will discuss it with the team in the coming weeks too :)

@yanniskadiri yanniskadiri moved this from To be reviewed (Open) to Reviewed in Content - Old Jan 25, 2022
@HaruMiyaGi
Copy link

Would like this feature too!

Additionally it would be nice to add formating preferences for other fields too.
For example an option to keep the 2 decimals at the end of decimal number inputs which don't need it: 1 to 1.00.

@ippoippo
Copy link

+1 for me wanting this feature.
Display of all Datetime and Date info needs to be configurable.
So, not just display.
This also includes the Date picker when creating/editing content.

Screen Shot 2022-02-16 at 9 35 07

As an example, that 02/27/2022 date format is not suitable for Japan audiences, which require 2022/02/27 or 2022-02-27.

@florian-hergenhahn
Copy link

This feature would also be relevant for us.

@derrickmehaffy
Copy link
Member

Hey all, we are currently moving many feature requests to our new feedback and feature request website to help clean up the GitHub issues and make it easier for us to review bug reports and fix them.

I have moved this feature to the following URL: https://feedback.strapi.io/developer-experience/p/option-to-change-the-date-format-in-the-admin-dashboard
If you are interested in this feature please feel free to go there and add more comments and/or upvote it there.

For now I will close this and lock it so that all new information goes into our new feedback website.
Thanks!

Content - Old automation moved this from Reviewed to Fixed/Shipped Apr 18, 2022
@derrickmehaffy derrickmehaffy removed this from Fixed/Shipped in Content - Old Apr 18, 2022
@strapi strapi locked and limited conversation to collaborators Apr 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue: feature request Issue suggesting a new feature source: core:admin Source is core/admin package
Projects
None yet
Development

No branches or pull requests

7 participants