2020-06-09 03:09:22 -04:00
---
page_type: sample
products:
- office-sp
languages:
- javascript
- typescript
extensions:
contentType: samples
technologies:
- SharePoint Framework
createdDate: 3/1/2017 12:00:00 AM
---
2017-03-13 06:43:31 -04:00
# Modern Calendar
## Summary
2021-02-11 01:14:08 -05:00
This is a modern web part built on the GA version of the [SharePoint Framework ](https://dev.office.com/sharepoint/docs/spfx/sharepoint-framework-overview ) demonstrating how to build a custom web part with a calendar capabilities in it.
2017-03-13 06:43:31 -04:00
![SS1 ](https://cloud.githubusercontent.com/assets/13068139/23584809/14c4333e-0121-11e7-9bf1-3117651222d3.png )
![SS2 ](https://cloud.githubusercontent.com/assets/13068139/23584808/14c3ec26-0121-11e7-8be8-65fbcca32b62.png )
![SS3 ](https://cloud.githubusercontent.com/assets/13068139/23584807/14b88f34-0121-11e7-8c91-56ecff9343e1.png )
2021-02-11 01:14:08 -05:00
## Compatibility
![SPFx 1.11 ](https://img.shields.io/badge/SPFx-1.11.0-green.svg )
![Node.js LTS 10.x ](https://img.shields.io/badge/Node.js-LTS%2010.x-green.svg )
![SharePoint Online ](https://img.shields.io/badge/SharePoint-Online-yellow.svg )
![Teams N/A: Untested with Microsoft Teams ](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams" )
![Workbench Hosted: Does not work with local workbench ](https://img.shields.io/badge/Workbench-Hosted-yellow.svg "Does not work with local workbench" )
2017-03-13 06:43:31 -04:00
## Applies to
* [SharePoint Framework ](https://blogs.office.com/2017/02/23/sharepoint-framework-reaches-general-availability-build-and-deploy-engaging-web-parts-today/ )
2020-06-09 03:58:20 -04:00
* [Office 365 tenant ](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment )
2017-03-13 06:43:31 -04:00
## Prerequisites
2017-03-13 07:09:16 -04:00
None
2017-03-13 06:43:31 -04:00
## Solution
Solution|Author(s)
--------|---------
2017-03-13 07:09:16 -04:00
js-modern-calendar | Jeremy Coleman (MCP, PC Professional, Inc.)
2020-06-09 03:55:42 -04:00
js-modern-calendar | Nanddeep Nachan ([@NanddeepNachan](twitter.com/NanddeepNachan))
2021-02-11 01:14:08 -05:00
js-modern-calendar | Ravi Chandra ([Ravikadri](https://github.com/Ravikadri))
2021-10-28 17:03:16 -04:00
js-modern-calendar | Peter Paul Kirschner ([@petkir_at](https://twitter.com/petkir_at))
2017-03-13 06:43:31 -04:00
## Version history
Version|Date|Comments
-------|----|--------
2017-03-13 07:09:16 -04:00
1.0.0.0|February 11, 2017|Initial release
2020-06-09 03:55:42 -04:00
1.0.0.1|June 05, 2020|Updated the external CDN references to public CDN references
2021-02-11 01:14:08 -05:00
1.0.2.0|February 9, 2021|Upgraded to SPFx 1.11 and fixed issues with missing dependencies
2021-10-28 17:03:16 -04:00
1.0.3.0|October 28, 2021|fixed issues with Timezones. The Browser Timezone Settings are now used
2017-03-13 06:43:31 -04:00
## Disclaimer
2021-02-11 01:14:08 -05:00
2017-03-13 06:43:31 -04:00
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
---
## Minimal Path to Awesome
- Clone this repository
- in the command line run:
- `npm install`
- `gulp serve`
2017-03-13 07:09:16 -04:00
- Move to Online Workbench
- Ensure that you have Calendar list in your site
- Set web part properties accordingly
- Choose site
- List
- Start, End, Title and Details fields
2017-03-13 06:43:31 -04:00
## Features
2017-03-13 07:09:16 -04:00
Renders a calendar from any list available on the selected site. Site, List, Start, End, Event Title,Event Details and Calendar Theme are user-definable in the web part properties, so that you could technically use a custom list as the source for calendar presentation.
2017-03-13 06:43:31 -04:00
2020-06-09 03:55:42 -04:00
![](https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/js-modern-calendar)