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

Support date/datetime/time fields on label widgets to human dates #813

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

ecarreras
Copy link
Member

This pull request includes changes to the src/widgets/base/Label.tsx file, focusing on improving date and time formatting within labels. The most important changes include adding a new import for the dayjs library and modifying the label text formatting to use dayjs for date, time, and datetime fields.

Enhancements to date and time formatting:

@ecarreras ecarreras self-assigned this Jan 8, 2025
ecarreras pushed a commit that referenced this pull request Jan 8, 2025
@ecarreras ecarreras marked this pull request as ready for review January 10, 2025 08:53
@mguellsegarra
Copy link
Collaborator

@ecarreras ho passo a alpha, com ho veus? :)

@ecarreras
Copy link
Member Author

ho passo a alpha, com ho veus? :)

Si please!

@mguellsegarra
Copy link
Collaborator

@ecarreras ara he vist que ja ho vaig mergejar, a ovlab es veu correctament amb la locale que toca, per si li vols fer un cop d'ull i ho integrem:

CleanShot 2025-01-17 at 09 07 38

@ecarreras
Copy link
Member Author

Sí, ja es pot integrar també!

@mguellsegarra mguellsegarra merged commit 0d55642 into v2 Jan 17, 2025
1 check passed
@mguellsegarra mguellsegarra deleted the 66719/feature/widget-human-datetime branch January 17, 2025 09:19
@mguellsegarra
Copy link
Collaborator

Vigent a la v2.49.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants