What I want to do: Add a possibility to show upcoming events in the block with exact date/time information, instead of the default "Time left" countdown.

Why I need it (background): My site is Czech-localized, all contents written in Czech, all end-users also Czech. The Czech republic is a small country, located (including all its neighbours!) inside a single timezone, and no other country in the world speaks Czech. So I can safely assume that 100% of the audience is inside the same timezone. Now the "Time left" display inside the Upcoming events block looks really silly. People here are not used to the concept of timezones, they just ask: "Why the hell don't you just tell me which day and hour the event takes place? Why do you require me to count some stupid '6 weeks 3 days' before consulting my diary?" And I'm not the only one wanting this - for example I helped with a preliminary patch here http://drupal.org/node/161527 (just an example, no additional info in there).

My patch: The patch is rather a trivial change, one new setting on administrative pages, one condition, one-liner alternative functionality. Implements the proposed functionality, configurable, leaving the current behavior intact as default. Tested on 5.1 core / 5.x-1.x-dev event.

Comments

JirkaRybka’s picture

StatusFileSize
new5.24 KB

Attaching a new patch. The first one didn't handle timezones correctly, so when I changed the sitewide timezone (which I do twice a year, as the only way to emulate Daylight Saving Time), shown time was incorrect. This new patch shows the time exactly in the same way as full node-view, I tested it in various configs, works fine. (With good timezones settings, I finally managed to emulate a site with no timezones, which is the requirement here.)

I hope this can receive a bit of attention here ;-)

gerhard killesreiter’s picture

Status: Needs review » Closed (won't fix)

No new features will be added to the 5.1 version of event module. Also, I think if you need to have a different block you can just put it into your site specific module. This block is named "upcoming events" for good reason.

JirkaRybka’s picture

Version: 5.x-1.x-dev » 5.x-2.x-dev
Status: Closed (won't fix) » Active

One last try to get this re-considered:

- I believe the feature request is reasonable, I heard it quite a few times already, and in my country the default display definitely makes no sense.
- I don't think that maintaining an extra module is a reasonable solution for such a tiny change.
- I meant the feature to go into 6.x or HEAD or the like, but there's absolutely no other version than 5.x available for the issues here, so I used whichever version was available. I tried '<none>', but that's not accepted at drupal.org.

I'll be happy to provide another patch. If this receives a 'won't fix' again now, with the above said, I'll not press on it anymore (although being stuck with custom hacking forever doesn't feel good :-( )

Thanks for reply, in advance.

fm’s picture

It would be terrific if the Event mod developers would include controls for this feature. The existing countdown format suffers from limited usability.

rmiddle’s picture

I just came looking for this feature myself. It would make a great little checkbox someplace. Countdown or Just display the date/time.

Thanks
Robert

rmiddle’s picture

Status: Active » Reviewed & tested by the community
JirkaRybka’s picture

Cross-linking possibly duplicate issues: #78271: Upcoming Events to optionally show event dates instead of countdown

The linked one have more discussion, but this one here have a patch, so I'm not certain which one is a duplicate.

JirkaRybka’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

Closing this issue in favor of #78271: Upcoming Events to optionally show event dates instead of countdown - I just uploaded a new 6.x patch in there.