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
feat: show time in documents table #1123
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Important Review SkippedAuto reviews are limited to the following labels: coderabbit. Please add one of these labels to enable auto reviews. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
@rushatgabhane is attempting to deploy a commit to the Documenso Team Team on Vercel. A member of the Team first needs to authorize it. |
Hey There! and thank you for opening this pull request! 📝👋🏼 We require pull request titles to follow the Conventional Commits Spec and it looks like your proposed title needs to be adjusted. Details:
|
Hey there, it looks like you haven't accepted our contributor license agreement yet. In order for us to accept your pull request we ask that you please fill out the CLA: |
CLA signed. Please re-run |
@@ -62,7 +63,9 @@ export const DocumentsDataTable = ({ | |||
{ | |||
header: 'Created', | |||
accessorKey: 'createdAt', | |||
cell: ({ row }) => <LocaleDate date={row.original.createdAt} />, | |||
cell: ({ row }) => ( | |||
<LocaleDate date={row.original.createdAt} format={DateTime.DATETIME_SHORT} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rushatgabhane For Germany, I'm getting a 24-hour format. Is this by design, since Germany does not have a 12-hour format? |
@ElTimuro AFAIK this might be the luxon library doing its thing, we can also have a specific format |
Since we are not localizing yet, we should keep it consistent, I think |
Makes sense. Let me make the change to be 12h |
@ElTimuro done! Ready for re-review @adithyaakrishna |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Checked locally
- Looks good, merging
name: Pull Request
about: Submit changes to the project for review and inclusion
Description
Display time in 12h format in the documents table.
Related Issue
Fixes #1077
Changes Made
Testing Performed
Checklist
Additional Notes