我正在尝试使用以下网址在我的网站上显示谷歌日历
<a href="https://calendar.google.com/calendar/render?
action=TEMPLATE&
text={{ticket.subject}}&
dates=20170127T210000Z/20170127T220000Z&
details=For+details,+link+here:+https://www.example.com/&
location=Hyderabad,+Telangana,+India&sf=true&
output=xml#eventpage_6"
target="_blank" rel="nofollow">Add to calender</a>
如您所见,我已将日期值硬编码为dates=20170127T210000Z/20170127T220000Z
,但我无法理解格式
20170127T210000Z = 2017 01 27 but what is T210000Z?
因为我需要使用我的票证创建截止日期动态生成它,如下所示
helpdesk_ticket.due_by = "2017-01-17T17:00:00-05:00"