WordPress.org

Making WordPress.org

Opened 6 years ago

Closed 6 years ago

#278 closed enhancement (wontfix)

Time shortcode should support a dateless time

Reported by: ericlewis Owned by:
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords:
Cc:

Description

I want to refer to a general time (e.g. 1900 UTC), e.g. "Every Tuesday at [time]1900 UTCtime"

The time shortcode seems hardwired to represent a specific date though.

Change History (1)

#1 @Otto42
6 years ago

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

The time shortcode is hardwired to be a specific date because the whole point is for it to change the time shown to be the local view of the user. This requires a specific date because of timezones.

If you want to say "Every Tuesday at 1900 UTC", then just leave off the "time" shortcode. There is not enough information in that phrase to actually convert it to a local viewers timezone.

Note: See TracTickets for help on using tickets.