One Calendar
One Calendar
How to use URL to add event
This document will help you how to add one or more event using url
Format: ?events=title, startTime, endTime, description, location, color, participants
Supported parameters
title
orname
: Event title (required)date
orstartDate
: Start date (default is tomorrow)endDate
: End date (default is 1 hour after the start time)description
: Event descriptionlocation
: Event locationparticipants
: Participantscolor
: Event color (optional values: blue, green, red, yellow, purple, pink, indigo, orange, teal)
Date format
Supports the following date formats:
yyyy.mm.dd.hh.minute
: e.g.2024.03.25.14.30
means March 25, 2024, 14:3- Relative time:
1h
: 1 hour later2.5h
: 2.5 hours later30m
: 30 minutes later1d2:00
: 2 o’clock tomorrow2d
: 2 days later1d3h30m
: 1 day, 3 hours and 30 minutes later
Example
https://calendar.xyehr.cn/?events=Name,1d9:00,1d11:30,Description,Home(Location),yellow,Evan
If you need to skip some optional items, you need to leave this blank.
For example(I don’t want to add Description and location ):
https://calendar.xyehr.cn/?events=Name,1d9:00,1d11:30,,,yellow,Evan
Last updated on