Project

General

Profile

Edit Copy Actions

Feature #9288

open

Feature #9143: check date time related changes based on company timezone in all Pages and push to development

Align frontend dashboard date ranges and filters with store timezone

Added by Divya Inapakurthi about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
07/01/2026
Due date:
07/01/2026 (37 days late)
% Done:

100%

Estimated time:

Description

  1. Summary of Changes
    Aligned frontend date range pickers and preset filter calculations with the store's configured timezone (America/Denver) instead of using the client browser's local time. This resolves timezone offset discrepancies (e.g. a user in GMT+5:30 seeing July 1st while the store is still on June 30th).
  1. Affected Components & Fixes:
    1. Sales Analysis Page (sales&products.tsx):
    - Configured date range calculations and presets ("Today", "Yesterday", "This Month", etc.) to use the store's timezone via `dayjs().tz(getCompanyTimezone())`.
    2. Main Dashboard (Home.tsx):
    - Fixed the issue where the Date Range picker fields remained empty on mount when "Today" was active.
    - Initialized default `dateRange` state to today's start/end dates in store timezone context.
    - Configured quick filter selection boundaries relative to store timezone.
    3. Other Date-Filtered Tables/Lists:
    - Pre-order catalogs list (`Preorderlist.tsx`)
    - Product subscriptions list (`ProductSubscribersTable.tsx`)
    - Subscription transactions list (`ProductSubscriptionTransactions.tsx`)
    - Purchase orders list (`PurchaseOrderList.tsx`)
    - User management list (`UserManagement.tsx`)
    - Migrated all default range initializations to use the timezone-aware `getCurrentMonthRange()` helper.

Add

Subtasks


Add

Related issues

Actions #1

Updated by Divya Inapakurthi about 1 month ago

  • Status changed from New to In Progress
Actions #2

Updated by Divya Inapakurthi about 1 month ago

  • Parent task changed from #9267 to #9143
Actions #3

Updated by Divya Inapakurthi about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Edit Copy Actions

Also available in: Atom PDF