diff --git a/CHANGELOG.md b/CHANGELOG.md index 77666a7..a3f5b8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.0.0-beta.5 - TBD +## 1.0.0-beta.5 - 2016-03-18 - Bugfix: `amTimeAgo` shouldn't convert the time to local timezone on the element's `title` attribute ([#226](https://github.com/urish/angular-moment/pull/226), contributed by [stackia](https://github.com/stackia)) - Support moment 2.12.x diff --git a/README.md b/README.md index 2a19370..6489192 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ angular-moment AngularJS directive and filters for [Moment.JS](http://www.momentjs.com). -Copyright (C) 2013, 2014, 2015, Uri Shaked +Copyright (C) 2013, 2014, 2015, 2016, Uri Shaked [![Build Status](https://travis-ci.org/urish/angular-moment.png?branch=master)](https://travis-ci.org/urish/angular-moment) [![Coverage Status](https://coveralls.io/repos/urish/angular-moment/badge.png)](https://coveralls.io/r/urish/angular-moment) @@ -19,7 +19,7 @@ You can choose your preferred method of installation: * Through bower: `bower install angular-moment moment --save` * Through npm: `npm install angular-moment moment --save` * Through NuGet: `Install-Package angular-moment Moment.js` -* From a CDN: [jsDelivr](https://cdn.jsdelivr.net/angular.moment/1.0.0-beta.4/angular-moment.min.js) or [CDNJS](https://cdnjs.cloudflare.com/ajax/libs/angular-moment/1.0.0-beta.4/angular-moment.min.js) +* From a CDN: [jsDelivr](https://cdn.jsdelivr.net/angular.moment/1.0.0-beta.5/angular-moment.min.js) or [CDNJS](https://cdnjs.cloudflare.com/ajax/libs/angular-moment/1.0.0-beta.5/angular-moment.min.js) * Download from github: [angular-moment.min.js](https://raw.github.com/urish/angular-moment/master/angular-moment.min.js) Usage @@ -81,7 +81,7 @@ other filters. For example, the following code will accept dates that are format ``` -Note: To use `amParse`, install angular-moment version 1.0.0-beta.3 +Note: To use `amParse`, install angular-moment version 1.0.0-beta.3 or newer ### amFromUnix filter @@ -91,7 +91,7 @@ Converts a unix-timestamp (seconds since 1/1/1970) into a moment object. Example ``` -Note: To use `amFromUnix`, install angular-moment version 1.0.0-beta.3 +Note: To use `amFromUnix`, install angular-moment version 1.0.0-beta.3 or newer ### amUtc filter @@ -102,7 +102,7 @@ the following code will display the time in UTC instead of the local timezone: {{message.date | amUtc | amDateFormat:'MM.DD.YYYY HH:mm:ss'}} ``` -Note: To use `amUtc`, install angular-moment version 1.0.0-beta.3 +Note: To use `amUtc`, install angular-moment version 1.0.0-beta.3 or newer ### amUtcOffset filter @@ -113,7 +113,7 @@ a UTC + 3 hours time offset: {{message.date | amUtcOffset:'+0300' | amDateFormat:'MM.DD.YYYY HH:mm:ss'}} ``` -Note: To use `amUtcOffset`, install angular-moment version 1.0.0-beta.3 +Note: To use `amUtcOffset`, install angular-moment version 1.0.0-beta.3 or newer ### amLocal filter @@ -124,7 +124,7 @@ for timezone conversion. For example, the following will convert the given UTC d {{message.date | amUtc | amLocal | amDateFormat:'MM.DD.YYYY HH:mm:ss'}} ``` -Note: To use `amLocal`, install angular-moment version 1.0.0-beta.3 +Note: To use `amLocal`, install angular-moment version 1.0.0-beta.3 or newer ### amTimezone filter @@ -135,7 +135,7 @@ and load timezone data in order to use this filter. The following example displa {{message.date | amTimezone:'Israel' | amDateFormat:'MM.DD.YYYY HH:mm:ss'}} ``` -Note: To use `amTimezone`, install angular-moment version 1.0.0-beta.3 +Note: To use `amTimezone`, install angular-moment version 1.0.0-beta.3 or newer ### amDateFormat filter Format dates using moment.js format() method. Example: diff --git a/angular-moment.js b/angular-moment.js index c771bda..cfe2ba4 100644 --- a/angular-moment.js +++ b/angular-moment.js @@ -1,4 +1,4 @@ -/* angular-moment.js / v1.0.0-beta.4 / (c) 2013, 2014, 2015, 2016 Uri Shaked / MIT Licence */ +/* angular-moment.js / v1.0.0-beta.5 / (c) 2013, 2014, 2015, 2016 Uri Shaked / MIT Licence */ 'format amd'; /* global define */ diff --git a/angular-moment.nuspec b/angular-moment.nuspec index 5719294..6b3dcef 100644 --- a/angular-moment.nuspec +++ b/angular-moment.nuspec @@ -2,7 +2,7 @@ angular-moment - 1.0.0-beta4 + 1.0.0-beta5 Angular Moment urish https://github.com/urish/angular-moment diff --git a/package.json b/package.json index f07aa5d..52e2f71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-moment", - "version": "1.0.0-beta.4", + "version": "1.0.0-beta.5", "main": "angular-moment.js", "repository": { "type": "git",