Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295389

Add from/to timezone settings for the "FormatDate process plugin"

$
0
0

Problem/Motivation

In the FormatDate process plugin implementation the source format and destination format use the same timezone which comes from the settings, but we could have case when we need different timezone for destination format, for instance we have date in America/Denver timezone but we need to convert it to UTC.

Proposed resolution

  1. Add new option from_timezone, and rename existing timezone parameter to to_timezone.
  2. Throw exeption if timezone incorrect
  3. Write test coverage

Remaining tasks

User interface changes

API changes

Different exceptions.

Data model changes


Viewing all articles
Browse latest Browse all 295389

Trending Articles