Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Dec 17, 2020
1 parent 77094c5 commit 6daf22a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions packages/__tests__/src/datelib/rrule.ts
Expand Up @@ -366,10 +366,10 @@ describe('rrule plugin', () => {
duration: '01:00',
rrule: {
freq: 'daily',
dtstart: '2020-10-24T16:00:00Z' // will be 00:00 in Manila
}
}
]
dtstart: '2020-10-24T16:00:00Z', // will be 00:00 in Manila
},
},
],
})

let events = calendar.getEvents()
Expand Down
2 changes: 1 addition & 1 deletion packages/__tests__/src/event-data/Event.setStart.ts
Expand Up @@ -38,7 +38,7 @@ describe('Event::setStart', () => {
eventChange(info) {
revertCalled = true
info.revert()
}
},
})

let event = calendar.getEventById('1')
Expand Down
8 changes: 4 additions & 4 deletions packages/__tests__/src/event-render/event-render-hooks.ts
Expand Up @@ -51,22 +51,22 @@ describe('eventContent', () => {
let calendar = initCalendar({
initialView: 'timeGridWeek',
initialDate: '2020-12-13',
eventDidMount(arg){
eventDidMount(arg) {
arg.event.setProp('backgroundColor', 'red')
arg.event.setProp('title', 'name changed')
},
events: [
{
id: 'a',
title: 'a',
start: '2020-12-15T09:30:00'
start: '2020-12-15T09:30:00',
},
{
id: 'b',
title: 'b',
start: '2020-12-22T09:30:00'
start: '2020-12-22T09:30:00',
},
]
],
})

function expectEventDataChanged(id) {
Expand Down
26 changes: 13 additions & 13 deletions packages/core/src/locales/eo.ts
@@ -1,22 +1,22 @@
import { LocaleInput } from '@fullcalendar/common'

export default {
code: "eo",
code: 'eo',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4 // The week that contains Jan 4th is the first week of the year.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: "Antaŭa",
next: "Sekva",
today: "Hodiaŭ",
month: "Monato",
week: "Semajno",
day: "Tago",
list: "Tagordo"
prev: 'Antaŭa',
next: 'Sekva',
today: 'Hodiaŭ',
month: 'Monato',
week: 'Semajno',
day: 'Tago',
list: 'Tagordo',
},
weekText: "Sm",
allDayText: "Tuta tago",
moreLinkText: "pli",
noEventsText: "Neniuj eventoj por montri"
weekText: 'Sm',
allDayText: 'Tuta tago',
moreLinkText: 'pli',
noEventsText: 'Neniuj eventoj por montri',
} as LocaleInput

0 comments on commit 6daf22a

Please sign in to comment.