feat: dynamic time format rendering in workflows based on user settings#10229
feat: dynamic time format rendering in workflows based on user settings#10229CarinaWolli merged 10 commits intocalcom:mainfrom montocoder:dynamic-time-format-for-workflow-reminders
Conversation
|
@monto7926 is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Thank you for following the naming conventions! 🙏 |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
CarinaWolli
left a comment
There was a problem hiding this comment.
Tested and works 🙌🏻 Code looks good as well!
Thank you for your contribution 🙏

What does this PR do?
This PR introduces functionality to render the time format for tokens in EVENT_DATE and START_DATE within workflow message templates, based on the user's preference set in
/settings/general(24h vs 12h). This has been accomplished by adding an additionaltimeFormatparameter to all workflow message templates and ensuring this parameter is included wherever these templates are called. ThetimeFormatvalue is obtained fromuser.timeFormat.Requirement/Documentation
Type of change
How should this be tested?
Here are some test scenarios:
Setup
Triggers
Actions
Message templates
Test case 1
Test case 2
Mandatory Tasks
Checklist