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

Column Formatting to format date in dd mmm yyyy #50

Closed
2 of 3 tasks
mubash7 opened this issue May 3, 2018 · 1 comment
Closed
2 of 3 tasks

Column Formatting to format date in dd mmm yyyy #50

mubash7 opened this issue May 3, 2018 · 1 comment
Labels
💡 Enhancement Idea for enhancing a sample

Comments

@mubash7
Copy link

mubash7 commented May 3, 2018

SharePoint is displaying date in 'dd/mm/yy' format. I want to change it to 'dd mmm yyyy'. how can I do it using column formatting?

Important

Use the following form to submit an issue only if it's related to samples in this repo. If you have an issue related to the SharePoint Framework or its documentation, please submit the issue at https://github.com/SharePoint/sp-dev-docs/issues/new. This will help us respond to your issue faster.


Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

  • Question
  • Bug
  • Enhancement

Expected or Desired Behavior

If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please describe thoroughly the enhancement, how it can be achieved, and expected benefit.

Observed Behavior

If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.

Steps to Reproduce

If you are reporting a bug please describe the steps to reproduce the bug in sufficient detail to allow testing. Only way to fix things properly, is to have sufficient details to reproduce it. If you are making a suggestion, you can delete this section.

Submission Guidelines

Delete this section after reading

  • All suggestions or bugs are welcome, please let us know what's on your mind.
  • If you are reporting an issue around any of the samples, please ensure that you have clear reference on the sample and possibly code file, which should be fixed.
  • Remember to include sufficient details and context.
  • If you have multiple suggestions or bugs please submit them in separate bugs so we can track resolution.

Thanks for your contribution! Sharing is caring.

@thechriskent thechriskent added the 💡 Enhancement Idea for enhancing a sample label Jun 15, 2018
@thechriskent
Copy link
Contributor

Unfortunately, list formatting does not support date time formatting outside of toLocaleString(), toLocaleDateString(), and toLocaleTimeString(). So at this time this isn't possible.

This isn't an issue with the samples in this repository, so I am going to close it. Please feel free to submit this to UserVoice as an enhancement request (it's a great idea). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Enhancement Idea for enhancing a sample
Projects
None yet
Development

No branches or pull requests

2 participants