+ );
+ }
}
diff --git a/samples/react-calendar-feed/src/shared/components/CarouselContainer/index.ts b/samples/react-calendar-feed/src/shared/components/CarouselContainer/index.ts
index a64480dc1..39a16deee 100644
--- a/samples/react-calendar-feed/src/shared/components/CarouselContainer/index.ts
+++ b/samples/react-calendar-feed/src/shared/components/CarouselContainer/index.ts
@@ -1,2 +1,2 @@
-export * from './CarouselContainer';
-export * from './CarouselContainer.types';
\ No newline at end of file
+export * from "./CarouselContainer";
+export * from "./CarouselContainer.types";
diff --git a/samples/react-calendar-feed/src/shared/components/DateBox/DateBox.tsx b/samples/react-calendar-feed/src/shared/components/DateBox/DateBox.tsx
index 88f19ed3b..ed1298fb6 100644
--- a/samples/react-calendar-feed/src/shared/components/DateBox/DateBox.tsx
+++ b/samples/react-calendar-feed/src/shared/components/DateBox/DateBox.tsx
@@ -1,8 +1,8 @@
-import * as moment from 'moment';
-import { css } from 'office-ui-fabric-react/lib/Utilities';
-import * as React from 'react';
-import styles from './DateBox.module.scss';
-import { DateBoxSize, IDateBoxProps, IDateBoxState } from './DateBox.types';
+import * as moment from "moment";
+import { css } from "office-ui-fabric-react/lib/Utilities";
+import * as React from "react";
+import styles from "./DateBox.module.scss";
+import { DateBoxSize, IDateBoxProps, IDateBoxState } from "./DateBox.types";
/**
* Shows a date in a SharePoint-looking date
@@ -50,4 +50,4 @@ export class DateBox extends React.Component {
{endMoment.format("MMM D").toUpperCase()}
);
}
-}
\ No newline at end of file
+}
diff --git a/samples/react-calendar-feed/src/shared/components/DateBox/index.ts b/samples/react-calendar-feed/src/shared/components/DateBox/index.ts
index 15e960a51..83a14bfa2 100644
--- a/samples/react-calendar-feed/src/shared/components/DateBox/index.ts
+++ b/samples/react-calendar-feed/src/shared/components/DateBox/index.ts
@@ -1,2 +1,2 @@
-export * from './DateBox';
-export * from './DateBox.types';
\ No newline at end of file
+export * from "./DateBox";
+export * from "./DateBox.types";
diff --git a/samples/react-calendar-feed/src/shared/components/EventCard/EventCard.tsx b/samples/react-calendar-feed/src/shared/components/EventCard/EventCard.tsx
index a451e7adf..3615b1adc 100644
--- a/samples/react-calendar-feed/src/shared/components/EventCard/EventCard.tsx
+++ b/samples/react-calendar-feed/src/shared/components/EventCard/EventCard.tsx
@@ -1,15 +1,13 @@
-import { Guid } from '@microsoft/sp-core-library';
-import * as strings from 'CalendarFeedSummaryWebPartStrings';
-import * as ICS from 'ics-js';
-import * as moment from 'moment';
-import { ActionButton, DocumentCard, DocumentCardType, FocusZone, css } from 'office-ui-fabric-react';
-import * as React from 'react';
-import { IEventCardProps, IEventCardState } from '.';
-import { DateBox, DateBoxSize } from '../DateBox';
-import styles from './EventCard.module.scss';
-const AllDayFormat: string = 'dddd, MMMM Do YYYY';
-const LocalizedTimeFormat: string = 'llll';
-import { Text } from '@microsoft/sp-core-library';
+import { Guid } from "@microsoft/sp-core-library";
+import * as strings from "CalendarFeedSummaryWebPartStrings";
+import * as ICS from "ics-js";
+import * as moment from "moment";
+import { ActionButton, DocumentCard, DocumentCardType, FocusZone, css } from "office-ui-fabric-react";
+import * as React from "react";
+import { IEventCardProps, IEventCardState } from ".";
+import { DateBox, DateBoxSize } from "../DateBox";
+import styles from "./EventCard.module.scss";
+import { Text } from "@microsoft/sp-core-library";
/**
* Shows an event in a document card
*/
@@ -31,10 +29,10 @@ export class EventCard extends React.Component
title,
url,
category,
- description,
+ // description,
location } = this.props.event;
const eventDate: moment.Moment = moment(start);
- const dateString: string = allDay ? eventDate.format(AllDayFormat) : eventDate.format(LocalizedTimeFormat);
+ const dateString: string = allDay ? eventDate.format(strings.AllDayDateFormat) : eventDate.format(strings.LocalizedTimeFormat);
const { isEditMode } = this.props;
return (