Repository navigation
Fixes #1 - Grammar / syntax check for docs and comments - #2
Conversation
|
Woah, great work. Lots of thanks! 💯 🚀 |
| #### Setting up the environment | ||
|
|
||
| Se recommend using VS Code with eslint extensions, which will automatically check your code against THE defined rules as you write it. | ||
| We recommend using VS Code with eslint extensions, which will automatically check your code against the defined rules as you write it. |
There was a problem hiding this comment.
Recommendation on a little rewording: "We recommend using VS Code with eslint extensions. It will automatically check your code against the defined rules."
| - Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so that the branch can be updated for a merge. | ||
| Once you submit your PR, a team member will review your proposal. We may ask questions or request for additional information. | ||
| - We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch. | ||
| - We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch, the changes will automatically be reflected in the PR. |
There was a problem hiding this comment.
We may ask for changes to be made before a PR can be merged using suggested changes or pull request comments.
| - Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so that the branch can be updated for a merge. | ||
| Once you submit your PR, a team member will review your proposal. We may ask questions or request for additional information. | ||
| - We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch. | ||
| - We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch, the changes will automatically be reflected in the PR. |
There was a problem hiding this comment.
You can make any other changes in your fork, then commit them to your branch. The changes will automatically be reflected in the PR.
| ### More examples | ||
|
|
||
| Assuming you have imported minitz as described under 'Installation'. | ||
| The below examples will work only if you have imported minitz as described in the 'Installation' section, if that's not the case results may vary. |
There was a problem hiding this comment.
The examples below will work only if you have imported minitz as described in the 'Installation' section. If that's not the case then results may vary.
| #### Convert local time to a specific timezone | ||
|
|
||
| Provided that you only neeed to display the result, converting local time to specific timezone is best done with vanilla JavaScript. | ||
| Provided that you only neeed to display the result, converting local time to specific timezone is best achieved with vanilla JavaScript. |
There was a problem hiding this comment.
Provided that you only need to display the result, converting local time to specific timezone is best achieved with vanilla JavaScript.
| * skips from 23:59:59 to 01:00:00. Setting this flag makes the library throw instead. | ||
| * @param {boolean} [throwOnInvalidTime] - Default is to return the adjusted time if the call happens during a Daylight-Saving-Time switch. | ||
| * E.g. Value "01:01:01" is returned if input time is 00:01:01 while one hour got actually | ||
| * skipped, going from 23:59:59 to 01:00:00. Setting this flag makes the library throw instead. |
|
@coleenho Oh, thanks for the review. I were a little quick on the merge button 😄 Will add these changes shortly. If any of you aren't up for another PR? |
|
@Hexagon Sure, I'll do a PR for you with the changes I proposed. |
|
@coleenho Great 👍 |
As discussed, non-native here but trying my best to help around!
(Added also a few extremely minimal "extras", hope you won't mind!)