ICS 文件中缺少 Olsen TZ TZID 格式是否有解决方法 [英] Is There a Workaround for lack of Olsen TZ TZID Format in ICS File

查看:21
本文介绍了ICS 文件中缺少 Olsen TZ TZID 格式是否有解决方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在电子邮件中收到的 ICS 文件出现问题.我的 Outlook 2010 副本无法正确识别时区.以下是会议开始时间在 ICS 文件中的表示方式:

I recently had a problem with an ICS file that I received in email. My copy of Outlook 2010 would not recognize the timezone correctly. Here is the way that the start time of a meeting was represented in the ICS file:

DTSTART;TZID=America/Los_Angeles:20110928T183000

当 Outlook 导入此文件时,它将时间从太平洋时间下午 6:30 更改为太平洋时间下午 7:30.经过一些实验,我能够通过更改时区格式获得在 Outlook 中正确导入的 ICS 文件:

When Outlook imported this file, it changed the time from 6:30 pm Pacific time to 7:30 pm Pacific time. After some experimentation I was able to get an ICS file that imported correctly in Outlook by changing the time zone format:

DTSTART;TZID="Pacific Time":20110928T183000

经过进一步研究,我发现 ICS 文件规范 留下了以下问题时区识别开放,但建议使用 奥尔森 TZ 数据库.Microsoft Outlook 团队似乎选择忽略此建议.

After some further research I found that the ICS file specification leaves the question of time zone identification open, but suggests using the Olsen TZ database. It appears that the Microsoft Outlook team has chosen to ignore this suggestion.

鉴于 Outlook 是一个相当流行的日历客户端,是否有一种可靠的方法可以为 Outlook 格式化仍与其他客户端兼容的 ICS 时区?我对这个问题最大的担忧是 Outlook 导入过程中的静默错误.用户很容易在错误的时间出席会议,因为 Outlook 不会发出有关时区混淆的警告.我们是否应该简单地将 Outlook 用户定向到不同的文件格式?

Given that Outlook is a fairly popular calendar client, is there a reliable way to format ICS time zones for Outlook that is still compatible with other clients? My biggest concern about this issue is the silent error during the Outlook import. Users could easily show up for a meeting at the wrong time, since Outlook gives no warning that it's confused about the time zone. Should we simply direct Outlook users to a different file format?

注意:我知道这个问题类似于 较早的帖子,但该帖子上的参考文献似乎已过期,我想知道是否有更好的解决方案.

Note: I know that this question is similar to an earlier post, but the references on that post appear to have expired, and I'm wondering if there are any better solutions out there.

推荐答案

如果没有完整的 iCalendar 文件就很难判断,但是您是否定义了/您的日历文件中是否有一个 VTIMEZONE 组件来定义什么America/Los_Angeles 应该是?

Hard to judge without the full iCalendar file but did you define/do you have a VTIMEZONE component in your calendar file which defines what America/Los_Angeles should be?

类似于:

BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE

这篇关于ICS 文件中缺少 Olsen TZ TZID 格式是否有解决方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆