Skip to content

Conversation

@UtkarshMishra-Microsoft
Copy link
Contributor

Purpose

This PR resolves inconsistent date formatting across Product, HR, and GroupChatManager responses.

  • All dates now respect the user's desktop locale preference, ensuring a consistent experience.

  • Introduced utils_date.py as a simple, standalone utility to handle date formatting cleanly.

  • Removed raw or hardcoded date formats like 2025-07-25 or 03-07-2025.

Backend now produces clean, consistent, locale-aware date formatting in all responses.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@UtkarshMishra-Microsoft UtkarshMishra-Microsoft changed the title Fix: Consistent Date Formatting Across Product, HR, and GroupChat Responses Based on User Locale fix: Consistent Date Formatting Across Product, HR, and GroupChat Responses Based on User Locale Jul 3, 2025
Copy link
Contributor

@marktayl1 marktayl1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@Roopan-Microsoft Roopan-Microsoft merged commit 095ee5b into dev Jul 4, 2025
7 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the DateFormat-Bug branch July 4, 2025 07:12
@github-actions
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

blessing-msft pushed a commit that referenced this pull request Aug 1, 2025
fix: Consistent Date Formatting Across Product, HR, and GroupChat Responses Based on User Locale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants