Skip to content

[MBL-19639][Student] Display lock date in device timezone instead of account timezone#3599

Merged
hermannakos merged 1 commit intomasterfrom
MBL-19639-use-device-local-for-date
Mar 27, 2026
Merged

[MBL-19639][Student] Display lock date in device timezone instead of account timezone#3599
hermannakos merged 1 commit intomasterfrom
MBL-19639-use-device-local-for-date

Conversation

@hermannakos
Copy link
Copy Markdown
Collaborator

Test plan:

  1. Set up a Canvas user whose account timezone differs from your device timezone
  2. Create an assignment with a past "until" (lock) date
  3. Open the assignment in the Student app
  4. Verify both the due date AND the lock date display in the device's local timezone
  5. Check the AssignmentBasicFragment view (legacy) also shows the correct timezone

refs: MBL-19639
affects: Student
release note: Fixed lock dates on assignment details displaying in the account timezone instead of the device timezone

  • Follow-up e2e test ticket created or not needed
  • Tested in dark mode
  • Tested in light mode
  • Test in landscape mode and/or tablet
  • A11y checked
  • Approve from product

…account timezone

Replace server-provided lockExplanation (formatted in account timezone) with
locally-formatted lock date using DateFormat to ensure consistency with other
dates on the assignment details screen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

📊 Code Coverage Report

✅ Student

  • PR Coverage: 42.53%
  • Master Coverage: 42.53%
  • Delta: +0.00%

✅ Teacher

  • PR Coverage: 25.38%
  • Master Coverage: 25.38%
  • Delta: +0.00%

✅ Pandautils

  • PR Coverage: 23.66%
  • Master Coverage: 23.65%
  • Delta: +0.00%

📈 Overall Average

  • PR Coverage: 30.52%
  • Master Coverage: 30.52%
  • Delta: +0.00%

@github-actions
Copy link
Copy Markdown
Contributor

🧪 Unit Test Results

✅ 📱 Student App

  • Tests: 1252 total, 0 failed, 0 skipped
  • Duration: 0.000s
  • Success Rate: 100%

✅ 🌅 Horizon

  • Tests: 790 total, 0 failed, 0 skipped
  • Duration: 35.999s
  • Success Rate: 100%

✅ 📦 Submodules

  • Tests: 3343 total, 0 failed, 0 skipped
  • Duration: 56.974s
  • Success Rate: 100%

📊 Summary

  • Total Tests: 5385
  • Failed: 0
  • Skipped: 0
  • Status: ✅ All tests passed!

Last updated: Mon, 23 Mar 2026 14:53:36 GMT

@github-actions
Copy link
Copy Markdown
Contributor

Student Install Page

@hermannakos hermannakos merged commit 751c41b into master Mar 27, 2026
24 of 27 checks passed
@hermannakos hermannakos deleted the MBL-19639-use-device-local-for-date branch March 27, 2026 14:08
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