Make WordPress Core

Opened 19 years ago

Closed 18 years ago

#5659 closed enhancement (duplicate)

Please expose timezone offset through xmlrpc

Reported by: raghos Owned by:
Priority: normal Milestone:
Component: XML-RPC Version:
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

Hi,

I'm writing a client for wordpress. Right now, when one wants to submit a new post, there's no way to know what the timezone offset is, and must rely on the information provided by dateCreated and date_created_gmt from previous posts. This is not great in many situations.

Thanks!
CArlos

Change History (5)

#1 @josephscott
19 years ago

  • Cc josephscott added
  • Component General → XML-RPC
  • Keywords needs-patch added
  • Milestone 2.6 → 2.5
  • Version → 2.5

#2 @westi
19 years ago

Do the apis not just take ISO8601 timestamps?

I would expect the client to send either a UTC timestamp based on the clients timestamp or an ISO8601 timestamp with timezone offset and WordPress to use that to enter the info in the database?

#3 @josephscott
19 years ago

For new posts we use GMT, the problem is there isn't really a way to tell the client what the TZ offset value in the blog is set to.

I'm also working on a more generic interface to blog option values, which will include taking care of this issue as well.

#4 @ffemtcj
19 years ago

  • Milestone 2.5 → 2.7

No Patch. Moved to 2.7

#5 @josephscott
18 years ago

  • Milestone 2.7
  • Resolution → duplicate
  • Status new → closed
  • Version 2.5

Exposing the time zone settings has been done in a more general way, taken care of in #7123.

Note: See TracTickets for help on using tickets.