* Fix Typos

* Fix More Typos
This commit is contained in:
Yo
2019-12-23 22:22:55 +05:30
committed by Matteo Pagliazzi
parent 7d2c5ed339
commit 04a9c97393
39 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export function startOfWeek (options = {}) {
/*
This is designed for use with any date that has an important time portion
(e.g., when comparing the current date-time with the previous cron's date-time
for determing if cron should run now).
for determining if cron should run now).
It changes the time portion of the date-time to be the Custom Day Start hour,
so that the date-time is now the user's correct start of day.
It SUBTRACTS a day if the date-time's original hour is before CDS
+1 -1
View File
@@ -157,7 +157,7 @@ export function togglePinnedItem (user, { item, type, path }, req = {}) {
}
if (isOfficialPinned) {
// if an offical item is also present in the user.pinnedItems array
// if an official item is also present in the user.pinnedItems array
const itemInUserItems = pathExistsInArray(user.pinnedItems, path);
if (itemInUserItems !== -1) {