
SaaS Reporting Time Zones: Define the Day Before Calculating the Total
Define reporting time zones, half-open date ranges, event timestamps, and export context so SaaS totals can be reproduced and explained.
Custom Portals
Build portal calendar subscriptions with stable event IDs, explicit date semantics, scoped revocable feed tokens, minimal event data, and client-level verification.

LET’S BUILD SOMETHING USEFUL
Talk to ATARAXY DEVELOPERS (SMC-PRIVATE) LIMITED about your website, app, or custom software.
A client subscribes to a project calendar from a portal. Every refresh creates duplicate milestones, and a rescheduled review continues to appear at its old time. Later, a former team member can still fetch the calendar URL. These problems come from three separate design decisions: event identity, update behavior, and feed authorization. A calendar export is more than a text file containing dates.
Start by distinguishing a one-time download from an ongoing subscription. A downloaded file is a snapshot that the recipient may import or keep. A subscription asks a calendar client to retrieve a feed over time. Make that difference clear in the portal, and define the supported behavior before promising that changes will appear everywhere immediately.
The iCalendar specification, RFC 5545, defines UID as a persistent, globally unique identifier for a calendar component. Generate the event identity from a durable event record or another stable mapping. Do not create a fresh identifier every time the feed is requested. A title edit or a rescheduled meeting should normally update the same logical event rather than appear as an unrelated addition.
Keep identity independent of the display title, current date, and subscriber token. A project review can change from Tuesday to Thursday without becoming a different review. Likewise, rotating a feed token should not cause every event to receive a new UID. Document the rare cases that create a new event, such as replacing a canceled milestone with a distinct meeting, so the behavior is consistent across the portal and exported feed.
The specification distinguishes date-only and date-time values, and defines an event’s DTEND as non-inclusive. For an all-day event spanning two calendar dates, the end boundary therefore follows the last included day. Handle this deliberately instead of converting every date into midnight in the server’s timezone. A project deadline that is a date and a meeting scheduled at a particular instant have different meanings.
Write fixtures for an all-day milestone, a timed meeting, an event crossing midnight, and a time near a daylight-saving transition in a supported region. Inspect them in the actual calendar clients your customers use. Keep the portal’s authoritative display and the feed’s intended semantics aligned. If a project changes its timezone, decide which events represent fixed instants and which are intended to follow local wall-clock time before rewriting their values.
Use a maintained serializer that implements the relevant iCalendar rules for text escaping, line handling, and property formatting. Avoid assembling output by joining arbitrary customer strings into lines. Test event descriptions containing commas, semicolons, newlines, non-Latin text, and unusually long titles. A parser accepting the file is a useful first check, followed by inspection of the rendered event in supported clients.
Define how update timestamps, revision information, cancellations, and removed events are generated for the subscription model you support. Do not copy meeting-invitation behavior into a read-only subscription without testing the receiving clients. Keep a small documented compatibility matrix. For a rescheduled review, verify that the original event changes as intended and that its old representation does not remain as a confusing duplicate.
Many subscription experiences rely on a URL containing an opaque token because the external calendar client cannot use the portal’s ordinary interactive login. Design that token as a scoped read credential. Use a suitably unpredictable value, associate it with an explicit user and feed scope, and provide revocation and replacement controls. Do not expose an account password or a general API key in the URL.
Keep tokens out of routine analytics, error reports, screenshots, and support transcripts. Show a clear explanation before the user copies the link: anyone possessing it may be able to retrieve the permitted calendar data. Prefer a separate token for each subscription where practical, so one lost link can be revoked without disrupting every device. The portal should list active subscriptions with useful labels and creation details.
OWASP’s authorization guidance calls for permission validation on every request. Apply that principle to feed retrieval. A valid token should not bypass a later loss of project membership or access to an event. Build the response from the current permitted scope and ensure caches cannot serve one subscriber’s private calendar to another subscriber.
Test revocation using the exact old URL, not just by checking that the portal hides its copy button. Test a user removed from one project while retaining access to another. Make the limitation explicit in product wording: stopping future authorized retrieval does not erase copies already downloaded or stored by a calendar application. Keep particularly sensitive details inside the authenticated portal rather than assuming the feed can later recall them.
A useful event can often contain a concise title, the necessary date or time, and a link back to the portal. Avoid exporting private review notes, internal comments, customer contact details, or attachment URLs by default. Check whether a project title itself reveals information beyond the intended audience. Apply a deliberate field allowlist when building calendar descriptions.
The link back to the portal should enforce ordinary login and authorization rather than inheriting the feed token’s access to unrelated pages. If AI helps draft event descriptions from project activity, provide only authorized source material and require review before publication. It should not infer deadlines, add attendees, or expose internal context merely because that information appeared in a source conversation.
Calendar applications control their own retrieval and display behavior. Verify new events, changed times, cancellations, token rotation, and access removal in each supported client. Record what the team observed without promising a universal refresh interval. Provide a last-generated or last-successfully-fetched observation in the portal where useful, while making clear that a server fetch does not prove the user’s calendar display has already updated.
For urgent changes, choose an appropriate separate communication process instead of relying exclusively on subscription refresh. Support should have a diagnostic procedure that checks the event’s stable identifier, current feed content, subscription status, and client behavior without asking customers to paste secret URLs into public tickets. Retain enough operational evidence to trace a failed refresh without storing unnecessary calendar contents or credentials.
A dependable portal calendar feed combines stable event identity with explicit date semantics and current access checks. Keep subscriptions distinct from downloads, minimize exported information, support scoped token revocation, and verify updates in real calendar clients. Clear limits around refresh timing and downloaded copies help users understand what the integration does while preserving the portal as the authoritative source of project information.
LET’S BUILD SOMETHING USEFUL
Talk to ATARAXY DEVELOPERS (SMC-PRIVATE) LIMITED about your website, app, or custom software.