bcgov / bcgov/SIMS

Dates on Reports - Report in PDT

Open
#3,454 0 comments 0 reactions 0 assignees View on GitHub
Business Institution Ministry
Dominant language
TypeScript
Stars
29
Forks
15
Avg merge
1d 13h
Merged PRs (30d)
40

Description

**User Story**
As a user who downloads a report, I want to make sure I understand any discrepancy in the dates displayed in SIMS and the date in the reports.
For reference - see discussion in comments on [Institution-Specific Reports - COE Requests](https://app.zenhub.com/workspaces/student-information-management-system-5fce9df5aa1b45000e937014/issues/gh/bcgov/sims/3131)

**Acceptance Criteria**
- [ ] Convert all timestamp dates when downloaded as a report to PDT.

**Business Context**
- SIMS displays dates based on the user's local timezone.
- SIMS stores dates as UTC.
- Pacific Daylight Time (PDT) is 7 hours behind of Coordinated Universal Time (UTC)
- The difference in the stored time being in UTC (the default time used when pulling the date from the db) could end up displaying a different date to the user than what is shown to them in the UI.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the report-download timestamp handling, then compare it with the UI's local-time display and the UTC storage described here; done means every timestamp in downloaded reports is converted to PDT and the displayed date is consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.