Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
chore(*): release 1.0.0-beta.5
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Mar 18, 2016
1 parent 81a346c commit c3f3361
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ angular-moment

AngularJS directive and filters for [Moment.JS](http://www.momentjs.com).

Copyright (C) 2013, 2014, 2015, Uri Shaked <uri@urish.org>
Copyright (C) 2013, 2014, 2015, 2016, Uri Shaked <uri@urish.org>

[![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)
Expand All @@ -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
Expand Down Expand Up @@ -81,7 +81,7 @@ other filters. For example, the following code will accept dates that are format
<span am-time-ago="message.time | amParse:'YYYY.MM.DD HH:mm:ss'"></span>
```

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

Expand All @@ -91,7 +91,7 @@ Converts a unix-timestamp (seconds since 1/1/1970) into a moment object. Example
<span am-time-ago="message.unixTime | amFromUnix">
```

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

Expand All @@ -102,7 +102,7 @@ the following code will display the time in UTC instead of the local timezone:
<span>{{message.date | amUtc | amDateFormat:'MM.DD.YYYY HH:mm:ss'}}</span>
```

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

Expand All @@ -113,7 +113,7 @@ a UTC + 3 hours time offset:
<span>{{message.date | amUtcOffset:'+0300' | amDateFormat:'MM.DD.YYYY HH:mm:ss'}}</span>
```

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

Expand All @@ -124,7 +124,7 @@ for timezone conversion. For example, the following will convert the given UTC d
<span>{{message.date | amUtc | amLocal | amDateFormat:'MM.DD.YYYY HH:mm:ss'}}</span>
```

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

Expand All @@ -135,7 +135,7 @@ and load timezone data in order to use this filter. The following example displa
<span>{{message.date | amTimezone:'Israel' | amDateFormat:'MM.DD.YYYY HH:mm:ss'}}</span>
```

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:
Expand Down
2 changes: 1 addition & 1 deletion angular-moment.js
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion angular-moment.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>angular-moment</id>
<version>1.0.0-beta4</version>
<version>1.0.0-beta5</version>
<title>Angular Moment</title>
<authors>urish</authors>
<projectUrl>https://github.com/urish/angular-moment</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c3f3361

Please sign in to comment.