New tests / results to remove the variation in date / time stamps.

This commit is contained in:
Andrew McMillan 2006-12-23 11:35:16 +13:00
parent 5849ddcfcf
commit 7990359e77
4 changed files with 13 additions and 6 deletions

View File

@ -7,9 +7,9 @@ BEGIN:VCALENDAR
PRODID:-//Catalyst.Net.NZ//NONSGML AWL Calendar//EN
VERSION:2.0
BEGIN:VFREEBUSY
DTSTAMP:20061222T122644Z
DTSTART:20061122T122644
DTEND:20070710T112644
DTSTAMP:yyyymmddThhmmssZ
DTSTART:yyyymmddThhmmss
DTEND:yyyymmddThhmmss
FREEBUSY:20061102T210000/PT1H
FREEBUSY:20061109T210000/PT1H
FREEBUSY:20061116T210000/PT1H

View File

@ -5,3 +5,7 @@ TYPE=GET
URL=http://mycaldav/freebusy.php/user1@example.net
HEAD
REPLACE=/^DTSTAMP:\d{8}T\d{6}Z$/DTSTAMP:yyyymmddThhmmssZ/
REPLACE=/^DTSTART:\d{8}T\d{6}$/DTSTART:yyyymmddThhmmss/
REPLACE=/^DTEND:\d{8}T\d{6}$/DTEND:yyyymmddThhmmss/

View File

@ -7,9 +7,9 @@ BEGIN:VCALENDAR
PRODID:-//Catalyst.Net.NZ//NONSGML AWL Calendar//EN
VERSION:2.0
BEGIN:VFREEBUSY
DTSTAMP:20061222T123418Z
DTSTART:20061122T123418
DTEND:20070710T113418
DTSTAMP:yyyymmddThhmmssZ
DTSTART:yyyymmddThhmmss
DTEND:yyyymmddThhmmss
FREEBUSY:20061102T210000/PT1H
FREEBUSY:20061109T210000/PT1H
FREEBUSY:20061116T210000/PT1H

View File

@ -5,3 +5,6 @@ TYPE=GET
URL=http://mycaldav/freebusy.php/user1/home/
HEAD
REPLACE=/^DTSTAMP:\d{8}T\d{6}Z$/DTSTAMP:yyyymmddThhmmssZ/
REPLACE=/^DTSTART:\d{8}T\d{6}$/DTSTART:yyyymmddThhmmss/
REPLACE=/^DTEND:\d{8}T\d{6}$/DTEND:yyyymmddThhmmss/