4044: [Web API] Add timezone field for User Resource

kimuchibox4000
chipx86
chipx86

What version are you running?

2.0.18

What's the URL of the page this enhancement relates to, if any?

http://demo.reviewboard.org/api/users/chipx86/

Describe the enhancement and the motivation for it.

I'd like to request to have the Time Zone information available on the Web API endpoint. I'm flexible to any format (UTC offset is one suggestion)! This information is already configurable by users, just not available to query via the web API.

Motivation: I'd like to use a user's configured timezone to properly time email notifications. Specifically, we have an extension that allows users to configure a "Due Date" on a review request; on the morning of the configured due date, I'd like to email the submitter and all the invited reviewers/groups, and make sure it's properly timed.

What operating system are you using? What browser?

Server runs on RHEL 6.6

Please provide any additional information below.

david
#1 david
  • +EasyFix
#2 adilally
  • +adilally
#3 adilally

Submitted patch for review: https://reviews.reviewboard.org/r/7881/

brennie
#4 brennie
  • -adilally
brennie
#5 brennie
  • +Mons
chipx86
#6 chipx86

Most of the work for this was done by a student (adilally). What's left is optimization work, which should probably go on my plate.

  • -New
    +Confirmed
  • +Release-3.0
  • -EasyFix
    +Component:API
  • -Mons
    +chipx86