Skip to content

Latest commit

 

History

History
27 lines (13 loc) · 993 Bytes

README.md

File metadata and controls

27 lines (13 loc) · 993 Bytes

calendar_svg_generater

This project is based on Dynamic-SVG-Calendar-Icon.

Use php or python to generate a daily calendar svg. The python version support severless.

How to use

upload the calendar.php to a php server.

With the link http://[YOUR_MOMAIN_OR_IP]/calendar, you will get a svg.

.

Parameters

With the link http://[YOUR_MOMAIN_OR_IP]/calendar?highlight=false&date=2020-05-06&strip=false, you will get a svg with defferent style.

.

highlight: The default value is True, the day text will be black. IF False or false, the day text will be gray.

date: Show today's date by default. You can give the value like: tomorrow, next mon, 2020/05/20, May 6, 2020 etc.

strip: The default value is True, the day text will shows without 0. IF False or false, the day text will be show with 0.