Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 15 years ago

Last modified 8 years ago

#257 closed enhancement (fixed)

Calculate time differences in blog timezone

Reported by: hudatoriq's profile hudatoriq Owned by: hudatoriq's profile hudatoriq
Milestone: 1.1 Priority: high
Severity: normal Version: 1.0
Component: Settings Keywords:
Cc: nattapat255130@…

Description

This is another alternative of ticket #256

The difference is, we use the blog timezone to do time calculation instead of GMT or server timezone.

Attachments (1)

time_since.diff (638 bytes) - added by hudatoriq 16 years ago.

Download all attachments as: .zip

Change History (8)

#1 @hudatoriq
16 years ago

  • Summary changed from Calculate time differences in GMT to Calculate time differences in blog timezone

When working on this, I discover a bug in WordPress current_time() function. It returns the server time, not GMT even the $gmt parameter is passed into it. I also submitted a ticket for it

http://trac.wordpress.org/ticket/8662

This buddypress patch will only work if the WordPress current_time() bug is fixed.

#2 @apeatling
16 years ago

  • Milestone changed from Core 1.0 to Core 1.1

#3 @(none)
16 years ago

  • Milestone Core 1.1 deleted

Milestone Core 1.1 deleted

#4 @apeatling
16 years ago

  • Milestone set to 1.1

#5 @apeatling
16 years ago

  • Type changed from defect to enhancement

#6 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Timezone differences are fixed in trunk.

#7 in reply to: ↑ description @tanitachimpalee1988
8 years ago

  • Cc nattapat255130@… added
  • Component set to Settings
  • Keywords timezone since removed
  • Priority changed from major to high
  • Severity set to normal

Replying to hudatoriq:

This is another alternative of ticket #256

The difference is, we use the blog timezone to do time calculation instead of GMT or server timezone.

Note: See TracTickets for help on using tickets.