ankane / groupdate

The simplest way to group temporal data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[idea] Allow to display date in a different time zone

adonespitogo opened this issue · comments

Hi,

I wanted to display dates in a different timezone. I have a graph that needs to be displayed in my customers timezone. I will make a PR for this shortly.

Regards,
Adones

Never mind, this can be done in format option:

format: Proc.new { |d| d.in_time_zone('Asia/Manila') }