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

查看:117
本文介绍了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 pm更改为太平洋时间7:30 pm.经过一些实验后,我可以通过更改时区格式来获取可以在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文件规范的问题在于时区标识已打开,但建议使用 Olsen 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天全站免登陆