Timezones
Display exact appointments in one timezone and edit their local times in another.
Display and editing zones
The following example demonstrates appointments across Chicago's repeated hour. Changing the display zone preserves stored instants. Each event's timeZone selects its editing zone; otherwise editorTimeZone defaults to UTC. Activate an appointment and choose Edit.
2026-11-01 – 2026-11-07
Sun, Nov 1
Mon, Nov 2
Tue, Nov 3
Wed, Nov 4
Thu, Nov 5
- No events
Fri, Nov 6
- No events
Sat, Nov 7
- No events
No changes saved · Requests: 0
<ngb-scheduler [events]="events()" timeZone="Europe/London"
editorTimeZone="America/Chicago" [mutationHandler]="persist"
(mutationComplete)="apply($event)" />
Resolve local times
A spring-forward gap has no matching instant: choose another time. A repeated time requires Earlier or Later. Unchanged editor fields retain their original exact occurrence, so editing a title does not move an appointment.
Try November 1, 2026 at 01:30 for a repeated time, or March 8, 2026 at 02:30 for a missing time. This conversion does not save an appointment.
import { ngbSchedulerResolveTime, ngbSchedulerInstant } from '@angular-bootstrap/ngbootstrap';
const result = ngbSchedulerResolveTime('2026-11-01T01:30', 'America/Chicago');
// result.kind: 'fold'; result.instants contains the two exact alternatives.
const instant = ngbSchedulerInstant('2026-11-01T01:30', 'America/Chicago', 'later');
Storage and limits
Persist timed start/end values with Z or an explicit offset, plus the event timezone when needed. All-day dates remain calendar dates with exclusive ends. Custom editor fields use the configured editing zone; external forms own conversion and can use the exported helpers.
The resolver supports 2000–2100 and whole-minute offsets using the runtime's timezone database. Keep browser/server timezone data current and validate on the server. Time-grid repeated hours remain a single civil position; exception events are listed separately. Moves and resizes use the displayed timezone. Use the editor for a repeated target time so you can choose the earlier or later occurrence. For repeating wall-clock schedules, see Recurring Events.