mirror of
https://github.com/wassname/angular-timezone-selector.git
synced 2026-07-02 13:54:56 +08:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8050f55684 | |||
| 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`.
|
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
|
## Usage
|
||||||
|
|
||||||
|
Install using bower
|
||||||
|
|
||||||
|
```
|
||||||
|
bower install angular-timezone-selector
|
||||||
|
```
|
||||||
|
|
||||||
Make your Angular module depend on module `angular-timezone-selector`.
|
Make your Angular module depend on module `angular-timezone-selector`.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|||||||
Vendored
+2
-1
@@ -97,7 +97,8 @@ angular.module('angular-timezone-selector', [])
|
|||||||
width: '300px',
|
width: '300px',
|
||||||
include_group_label_in_selected: true,
|
include_group_label_in_selected: true,
|
||||||
search_contains: 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
|
// Update the box if ngModel changes
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "angular-timezone-selector",
|
"name": "angular-timezone-selector",
|
||||||
"version": "1.0.0",
|
"version": "1.0.4",
|
||||||
"homepage": "https://github.com/mishguruorg/angular-timezone-selector",
|
"homepage": "https://github.com/mishguruorg/angular-timezone-selector",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Ashok Fernandez <ashok@mish.guru>"
|
"Ashok Fernandez <ashok@mish.guru>"
|
||||||
|
|||||||
Vendored
+20
-2
File diff suppressed because one or more lines are too long
Vendored
+20
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -26,7 +26,6 @@
|
|||||||
"uglify-js": "latest",
|
"uglify-js": "latest",
|
||||||
"grunt": "latest",
|
"grunt": "latest",
|
||||||
"grunt-contrib-uglify": "latest",
|
"grunt-contrib-uglify": "latest",
|
||||||
"grunt-contrib-copy": "latest",
|
|
||||||
"grunt-string-replace": "~1.0.0",
|
"grunt-string-replace": "~1.0.0",
|
||||||
"csv": "^0.4.1",
|
"csv": "^0.4.1",
|
||||||
"csv-load-sync": "0.0.3"
|
"csv-load-sync": "0.0.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user