%i doesn't show as minutes

  • Frank H
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 5 months ago #5124 by Frank H
%i doesn't show as minutes was created by Frank H
I just stumbled upon a strange error.

When I add:

%Y-%m-%d %H:%i

in the Event Date Format field it shows up as:

2010-11-19 16:%i

Somehow %i isn't translated to minutes (00-59). Is there some other kind of date setting than the normal PHP dates used?


Also, is it possible to get the csv to export all registred users for the events (with all group members shown).

And to show the group members e-mail in the Registrants management area?
(Considering the group members can fill in their email, it would be good to be able to view it aswell)


I must say that this extension feels very thought out, and suits our needs pretty good. Almost done with the translations and configuration, and will soon go live with it. :)

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #5125 by Cynthia
Replied by Cynthia on topic Re: %i doesn't show as minutes
Hi Frank,

I can help you with your time problem.

For the time, I used %d-%m-%Y %R in the configuration and that works fine. The time shows like this: 01-12-2010 20:15

For more time codes see: php.net/manual/en/function.strftime.php

Best regards,
Cynthia

Please Log in or Create an account to join the conversation.

  • Frank H
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 5 months ago #5128 by Frank H
Replied by Frank H on topic Re: %i doesn't show as minutes
Ah, thanks :)

I was looking at the date() formatting, didn't reflect over the % ... with strftime() it worked much better :D

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc