mirror of
https://github.com/wassname/angular-timezone-selector.git
synced 2026-06-28 16:44:11 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f05cc418da | |||
| be213a2a5e | |||
| d94c79a328 | |||
| 37e68f606e | |||
| 80ce0aaace | |||
| 98cf4068f3 | |||
| 9825c73da9 |
@@ -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
|
||||
|
||||
Vendored
+2
-1
@@ -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