xdan / periodpicker

Empty repository for paid periodpicker version
14 stars 2 forks source link

dealing with timezone #62

Closed hduchesn closed 7 years ago

hduchesn commented 7 years ago

How to use only UTC with periodpicker?

Use case: I am travel agency in australia and I prepare a trip for my customer in Los Angels. in periodpicker, I select 2017-08-15 as startdate of the trip. my customer have a look at the scheduler and he will see the date 2017-08-14 because of timezone...

So I want to use only utc date with preriodpicker to have a static date all over the world... I don't find the configuration options to handle this.

Could you please give me some advice?

hduchesn commented 7 years ago

ok this depends of the input format. If I format my input with moment().format('L') then the date is rigth.