
Portal Date-Only Fields: Preserve the Intended Calendar Day Across Time Zones
Model calendar dates separately from timestamps, with clear cutoff rules, consistent validation, and cross-time-zone portal tests.
Custom Portals
Make portal deadlines explainable with explicit working calendars, cutoff rules, time zones, and controlled recalculation.

LET’S BUILD SOMETHING USEFUL
Talk to ATARAXY DEVELOPERS (SMC-PRIVATE) LIMITED about your website, app, or custom software.
A client submits a request on Friday afternoon and sees a due date for Tuesday. The operations team expects Wednesday because Monday is a local holiday and the request arrived after the daily cutoff. Both sides believe that three business days is a clear rule. The portal has turned an undefined phrase into a precise date without recording the assumptions behind it.
Business-day deadlines need a calendar contract. Define which days count, which time zone determines the cutoff, when counting starts, and what happens when the calendar changes. Store the calculation basis with the result so that the team can explain a deadline later without reconstructing the settings that happened to exist when the request was submitted.
Decide whether the promise is a number of eligible calendar dates, a number of working hours, or an elapsed duration. Three business days and twenty-four working hours can produce different deadlines when opening hours vary. Avoid implementing one while describing the other in the customer interface.
Write a plain-language rule with examples. For a hypothetical review portal, a complete submission received before the cutoff might begin counting on the next eligible working day. A submission after the cutoff might be treated as received on the next working day. Those are proposed business rules, not universal definitions; the organization must choose and approve the actual contract.
Each deadline should name the calendar that governs it: the service team’s calendar, the customer contract calendar, or another agreed operational calendar. Do not automatically use the browser’s locale or the customer’s current location. A person travelling overseas should not change a contractual due date merely by opening the portal from a different time zone.
Represent weekly working days, exceptional closures, exceptional working days, and the effective period of the calendar. A Saturday may normally be closed but become a working day for a specific service period. Keep exceptions explicit and reviewable. A collection of hard-coded weekend checks scattered through the application will struggle to represent those changes consistently.
A holiday is commonly a calendar date in a particular operational context, while a submission timestamp is an instant. Convert the submission into the calendar’s named time zone before applying local cutoff rules. Then calculate the eligible date or working interval according to the chosen policy and store an unambiguous result for display and reminders.
PostgreSQL’s date and time functions documentation distinguishes date/time operations and time-zone conversion. Use the corresponding documented operations in the application’s own stack. Do not assume that adding a fixed number of seconds is equivalent to advancing local calendar days across every daylight-saving transition or operational schedule.
Some services begin their response period only after a request is complete. Define that event precisely. If an attachment is missing or a required approval has not arrived, the portal should show what remains outstanding and which timestamp will start the deadline calculation. The first time a draft was saved is not necessarily the start of the service period.
Record the event identity and accepted request version. If the customer supplies missing evidence later, the system can explain why counting began then. Avoid silently moving the deadline whenever any field changes. Distinguish a minor correction from a material resubmission according to the service’s agreed rules and show the consequence before the customer confirms the change.
Keep the request identifier, triggering event, calendar identifier and version, time zone, cutoff rule version, required duration, calculated deadline, and calculation time. Include any approved override separately with its reason and actor. This receipt makes the deadline reproducible even when the organization later updates its operating schedule.
For support staff, expose a concise explanation such as Received after cutoff; Monday excluded by calendar closure; counting starts Tuesday. The full internal receipt can remain restricted, while the customer sees an understandable summary. The aim is to explain the operational rule without exposing implementation details that do not help them plan their work.
An unexpected closure creates a policy question. Should existing commitments remain unchanged, should all affected deadlines move, or should an operator review them individually? Select a rule before deploying a calendar editor. Automatic recalculation can be appropriate, but it changes commitments and should produce a visible record of the old and new result.
Preview the impact before applying a calendar change. Show affected requests, their current deadlines, proposed deadlines, and the rule responsible. Preserve completed requests and historical reports according to the chosen retention model. Do not rewrite the past merely because today’s calendar definition differs from the one used when the service was delivered.
Reminder jobs should refer to the current approved deadline version. If a deadline changes, reconcile previously scheduled notifications so customers do not receive contradictory messages. Keep delivered reminders in history and identify which deadline they described. A recalculation should not make an earlier message disappear from the audit trail.
Separate approaching deadline, overdue, and paused states. If the workflow allows pauses, define whether they extend the deadline or merely suspend internal reminders. A paused badge without a calculation rule can conceal disagreement between the portal display and the operations report. Test how resumed work picks up the remaining obligation.
Create fixtures for before and after cutoff, the cutoff instant itself, weekends, consecutive holidays, an exceptional working day, year boundaries, and relevant clock changes. Use named sample calendars so reviewers can calculate the expected dates by hand. Include requests submitted from different browser time zones and verify that the contractual result remains consistent.
Test a calendar change while a calculation or reminder job is running. The operation should use a coherent calendar version, not a mixture of old weekly rules and new exceptions. Check imports and administrative overrides as well as customer submissions. Every route that establishes a deadline should produce the same calculation evidence.
AI can help extract candidate closure dates from an announcement or explain a calculation receipt. Have an authorized person verify the source, affected service, date interpretation, and effective period before adding an exception. A model’s interpretation of a public holiday should not silently alter contractual delivery dates across the portal.
Assign a calendar owner and a review cadence appropriate to the service. Record where closure information comes from and how urgent changes are approved. This is operational data with customer consequences, so its maintenance deserves the same clarity as the algorithm that consumes it.
Portal business-day deadlines become trustworthy when their calendar, cutoff, start event, and revision policy are explicit. Store the calculation basis, preview changes to open commitments, and reconcile reminders against the current approved result. A useful deadline is one the customer can plan around and the service team can explain later.
LET’S BUILD SOMETHING USEFUL
Talk to ATARAXY DEVELOPERS (SMC-PRIVATE) LIMITED about your website, app, or custom software.