mirror of
https://github.com/wassname/angular-timezone-selector.git
synced 2026-06-28 20:05:06 +08:00
Updated to newest version of code
This commit is contained in:
+5
-5
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-timezone-selector",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.3",
|
||||
"homepage": "https://github.com/mishguruorg/angular-timezone-selector",
|
||||
"authors": [
|
||||
"Ashok Fernandez <ashok@mish.guru>"
|
||||
@@ -30,14 +30,14 @@
|
||||
"chosen": "~1.4.2",
|
||||
"bootstrap": "~3.3.4"
|
||||
},
|
||||
"_release": "1.0.0",
|
||||
"_release": "1.0.3",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.0.0",
|
||||
"commit": "7b59da0b6bfbab35516a1b0a28e29fd1771e6143"
|
||||
"tag": "1.0.3",
|
||||
"commit": "f05cc418da643f00ade6d6cb894f8f8dea1f42ac"
|
||||
},
|
||||
"_source": "git://github.com/mishguruorg/angular-timezone-selector.git",
|
||||
"_target": "~1.0.0",
|
||||
"_target": "~1.0.3",
|
||||
"_originalSource": "angular-timezone-selector",
|
||||
"_direct": true
|
||||
}
|
||||
@@ -6,8 +6,16 @@ The user is able to choose their timezone by either typing the name of their cou
|
||||
|
||||
The angular model that is bound to this directive will be set to the timezone name as used by [moment-timezone](http://momentjs.com/timezone/docs/) i.e `Pacific/Auckland`.
|
||||
|
||||
[View Demo](http://mishguruorg.github.io/angular-timezone-selector/)
|
||||
|
||||
## Usage
|
||||
|
||||
Install using bower
|
||||
|
||||
```
|
||||
bower install angular-timezone-selector
|
||||
```
|
||||
|
||||
Make your Angular module depend on module `angular-timezone-selector`.
|
||||
|
||||
```javascript
|
||||
|
||||
@@ -97,7 +97,8 @@ angular.module('angular-timezone-selector', [])
|
||||
width: '300px',
|
||||
include_group_label_in_selected: true,
|
||||
search_contains: true,
|
||||
no_results_text: 'No results, try searching for the name of your country or nearest major city.'
|
||||
no_results_text: 'No results, try searching for the name of your country or nearest major city.',
|
||||
placeholder_text_single: 'Choose a timezone'
|
||||
})
|
||||
|
||||
// Update the box if ngModel changes
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-timezone-selector",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.2",
|
||||
"homepage": "https://github.com/mishguruorg/angular-timezone-selector",
|
||||
"authors": [
|
||||
"Ashok Fernandez <ashok@mish.guru>"
|
||||
|
||||
Reference in New Issue
Block a user