0

I am unable to find an angular 2 control that will allow selection of a country and timezone (such as US-Los Angeles, etc.). Please guide. thanks

OldSchool
  • 93
  • 2
  • 7

1 Answers1

2

You should use moment JS: https://momentjs.com/timezone/docs/

There are a lot of tutorials and questions asked and answered about this on stackoverflow, here are several examples of how to do this:

How to Include moment-timezone in Angular 2 App

https://www.npmjs.com/package/angular2-moment

How to use moment-timezone in Angular 2 class?

https://github.com/mishguruorg/angular-timezone-selector

Erica Grant
  • 245
  • 4
  • 12