Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update to 1.0.5 + typo correction.
  • Loading branch information
TotallyInformation committed Mar 30, 2016
1 parent f08805b commit 77ba170
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ While in development, install with:

npm install https://github.com/TotallyInformation/node-red-contrib-moment/tarball/master

#Updates
1.0.5 - Merged a pull request containing a Locale option for localisation. 2016-03-30

#Usage

The node expects an input from the incoming msg. By default, this is msg.payload. If it is a recognisable date/time, it will apply a format and output the resulting string or
Expand All @@ -22,7 +25,7 @@ There are 5 parameters to the node.

1. *Topic* - as expected, if provided, msg.topic will be set on the output. Otherwise, any input topic is passed through
2. *Input* - defines the Property on the input msg that carries the date/time. msg.payload by default.
Input must be either a Javascript Date object or a [date/time string that can be parsed by Modment.JS](http://momentjs.com/docs/#/parsing/string/).
Input must be either a Javascript Date object or a [date/time string that can be parsed by Moment.JS](http://momentjs.com/docs/#/parsing/string/).

It tries to work out the input format and allows more variations to be recognised. Such as 'Thursday, February 6th, 2014 9:20pm'

Expand Down Expand Up @@ -79,4 +82,4 @@ License for the specific language governing permissions and limitations under th

Please report any issues or suggestions via the [Github Issues list for this repository](https://github.com/TotallyInformation/node-red-contrib-moment/issues).

For more information, feedback, or community support see the Node-Red Google groups forum at https://groups.google.com/forum/#!forum/node-red
For more information, feedback, or community support see the Node-Red Google groups forum at https://groups.google.com/forum/#!forum/node-red

0 comments on commit 77ba170

Please sign in to comment.