Skip to content

Agenda should allow better control over time zone #681

Description

@jasonjoh

Proposal: Support time zones

Description

Allow me to:

  • Specify a specific time zone on the component (maybe a timezone property?)
  • Disable any adjustment of the date/times and render exactly what's given

Rationale

Currently, the agenda component assumes two things:

  • The date/time values on events are in UTC
  • I want to render them in the browser's time zone

These assumptions lead to trouble. I can request event times to be returned by Graph in a specific time zone using the Prefer: outlook.timezone="Pacific Standard Time" header, so it could be possible that as a developer I don't want you to do any adjusting of the times.

Alternatively, I might want you to adjust it (say if I'm letting the component do the query), but want it in the user's time zone, not the browsers. This is similar to how OWA does it.

Preferred Solution

Additional Context

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions