Skip to content

Commit 0aba537

Browse files
Fix spelling errors in dateAddAndSubtract.gs
1 parent f98fef3 commit 0aba537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sheets/dateAddAndSubtract/dateAddAndSubtract.gs

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function use() {
5252
var title = 'Date Custom Functions';
5353
var message = 'The functions DATEADD and DATESUBTRACT are now available in ' +
5454
'this spreadsheet. More information is available in the function help ' +
55-
'box that appears when you start using them in a forumula.';
55+
'box that appears when you start using them in a formula.';
5656
var ui = SpreadsheetApp.getUi();
5757
ui.alert(title, message, ui.ButtonSet.OK);
5858
}
@@ -113,7 +113,7 @@ function DATESUBTRACT(date, unit, amount) {
113113

114114
/**
115115
* Validates that the date, unit, and amount supplied are compatible with
116-
* Momnent, throwing an exception if any of the parameters are invalid.
116+
* Moment, throwing an exception if any of the parameters are invalid.
117117
* @param {Date} date The date to add to or subtract from.
118118
* @param {string} unit The unit of time to add/subtract.
119119
* @param {number} amount The amount of the specified unit to add/subtract.

0 commit comments

Comments
 (0)