Events Made Easy Forums How do I … Formatting & end date

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #43433
    Anonymous
    Inactive

    Having troubles with the end date, in all lists and views: when there is no date/time, the value is still shown.

    What ist the best/suggested format when you have al kind event durations, e.g.

    – 30 minutes

    – 6 hours over midnight

    – starting day 1 at 9:00, ending day 2 at 14:00

    I’tried a lot but every format hat pros and cons… despite the problem with the allways displayed end date/time.

    thx!

    #48366
    Franky
    Keymaster

    Read this:

    http://www.e-dynamics.be/wordpress/?cat=24

    There’s an example there to hide the end date if it is the same as the start date

    #48367
    Anonymous
    Inactive

    Hi, I have my problems too with the end date…

    I “played a little bit around” – but without succes…

    Where (means the exact point) the example

    #_{j M Y} [events_if tag="#ESC_{j M Y}" notvalue="#ESC@_{j M Y}"] #@_{- j M Y} [/events_if]

    from

    http://www.e-dynamics.be/wordpress/?cat=24

    has to be inserted into “Default event list format” (German: “Standard-Listenformat für Veranstaltungen”):

    <li><b>#D  #j. #M #Y - #H:#i Uhr bis #@H:#@i Uhr</b> #_LINKEDNAME<i>Wo?</i>      #_ADDRESS </li>
    <p>#_NOTES</p>

    to get the end date only shown if it is different from the start date?

    If you want to know what I mean have a look at http://www.umwelttisch.de “Termine” …

    The same question occurs concerning a single event.

    thx

    didi

    #48368
    Franky
    Keymaster

    Put it wherever you want the info to appear in the list (but you’re li-tag should be at the end). An example:

    <li><b>#D  #j #M #Y - #H:#i Uhr bis [events_if tag="#ESC_{j M Y}" notvalue="#ESC@_{j M Y}"] #@_{- j M Y} [/events_if] #@H:#@i Uhr</b> #_LINKEDNAME <i>Wo?</i>#_ADDRESS
    <p>#_NOTES</p>
    </li>

    #48369
    Anonymous
    Inactive

    Thank you, Franky…

    But I can’t manage it…

    If I insert your suggestion concerning the start and end time – means hours and minutes – it works fine until I try to choose the same day AND time. At this moment the calendar always changes automatically the end date to the following day … so what is to do?

    My intention is:

    I want to announce events taking mostly only one day where I often don’t know the end. But there may be events from more days as well as known ends…

    Thank you once again.

    Didi

    #48370
    Franky
    Keymaster

    In trunk (development version):

    the end time can now be the same as the start time, so you can test on this to not show end date/time info (for eg. events without end)

    #48371
    Anonymous
    Inactive

    Franky,

    I’m posting this question here because it looked like it might be related…

    I installed the trunk version today and notice that end dates for 1 day events are suddenly showing up – both in my widget list and individual event lists.

    I’ve been using the following code all along to hide the end date when it matched the begin date:

    <li>#_{jS} [events_if tag="#ESC_{j M Y}" notvalue="#ESC@_{j M Y}"] #@_{- jS} [/events_if] &nbsp #_LINKEDNAME<br /></li>

    Other than the different form of month/year, it looks like it matches your suggested code.

    Help!

    #48372
    Franky
    Keymaster

    Hmmm … the change I made only has effect on the possible end date you can use, nothing else … but as usual: I could’ve created a new bug 🙂 Let me test this out here first.

    #48373
    Franky
    Keymaster

    Wel, lucky for me I could quickly find the problem: has been fixed in trunk:

    http://plugins.trac.wordpress.org/changeset/438218

    #48374
    Anonymous
    Inactive

    Well, lucky for me you’re a smart one… 🙂

    Also lucky I caught you before you were done for the day!

    Thank you.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top