Skip to content

Commit 9a57629

Browse files
committed
docs(datetime): fix typos
1 parent b42a2a4 commit 9a57629

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ionic/components/datetime/datetime.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ const DATETIME_VALUE_ACCESSOR = new Provider(
153153
*
154154
* ## Min and Max Datetimes
155155
*
156-
* Dates are infinite in either direction, so for a user selection there should be at
157-
* least some form of restricting the dates can be selected. Be default, the maximum
156+
* Dates are infinite in either direction, so for a user's selection there should be at
157+
* least some form of restricting the dates that can be selected. Be default, the maximum
158158
* date is to the end of the current year, and the minimum date is from the beginning
159159
* of the year that was 100 years ago.
160160
*
@@ -225,7 +225,7 @@ const DATETIME_VALUE_ACCESSOR = new Provider(
225225
* However, it's important to note that `ion-datetime` does not attempt to solve all
226226
* situtations when validating and manipulating datetime values. If datetime values need
227227
* to be parsed from a certain format, or manipulated (such as adding 5 days to a date,
228-
* subtracting 30 minutes), or even formatting data to a specific locale, then we highly
228+
* subtracting 30 minutes, etc.), or even formatting data to a specific locale, then we highly
229229
* recommend using [moment.js](http://momentjs.com/) to "Parse, validate, manipulate, and
230230
* display dates in JavaScript". [Moment.js](http://momentjs.com/) has quickly become
231231
* our goto standard when dealing with datetimes within JavaScript, but Ionic does not
@@ -367,7 +367,7 @@ export class DateTime {
367367

368368
/**
369369
* @input {array | string} Values used to create the list of selectable minutes. By default
370-
* the mintues range from `1` to `59`. However, to control exactly which minutes to display,
370+
* the mintues range from `0` to `59`. However, to control exactly which minutes to display,
371371
* the `minuteValues` input can take either an array of numbers, or string of comma separated
372372
* numbers. For example, if the minute selections should only be every 15 minutes, then
373373
* this input value would be `minuteValues="0,15,30,45"`.

0 commit comments

Comments
 (0)