- Messages : 22
- Remerciements reçus 4
The developer takes a few days off for Summer vacation...
...and will be back with charged battery!
From 14 June to 29 June, 2025 included
During this period, assistance from developer will not be provided.
NEWS: iCagenda 4.0.0-alpha1 will be available for testing for users with a PRO subscription in July!
Connexion ou Créer un compte pour participer à la conversation.
Hi!jonmar écrit: Sorry, I had forgotten about your question.
We use 3 languages for the front end, Norwegian (default), Finnish and English. For all languages, we need the date to appear as D.M.-D.M. So, without leading zeros for day or month, and without spaces before and after the date separator, and a period after the month. I looked in the options for the date formatting but an option without leading zeros doesn't exist. It mentions a "customisable international date format" but I didn't see any way to customise it.
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
JHtml::_date('j F Y G:i', $item->stardate, null);
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
I thought you had a minimum knowledge as you have created your own theme pack (using php/html structure...So where do I put the example code you gave? Sorry if it's a dumb question, but like I said I don't know anything about PHP.
<?php echo JHtml::date($evt, 'j.n', null); ?>
<?php echo JHtml::date($item->stardate, 'j.n', null); ?> - <?php echo JHtml::date($item->enddate, 'j.n', null); ?>
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
Well, it was about your usage (only single dates ? only period ? or mix of two) but don't worry now, it was to give you a quick answer, but in the case i stated you had enough php knowledge, which is not the case, so i will see your custom code, it would be fasterI thought I had answered all of your questions so far. Can you tell me which ones I haven't answered yet, and I will do so ASAP.
Connexion ou Créer un compte pour participer à la conversation.
Connexion ou Créer un compte pour participer à la conversation.
<?php // Day ?>
<div class="ic-day">
<?php if (iCDate::isDate($item->startdate) && ! $item->weekdays) : ?>
<?php echo JHtml::date($item->startdate, 'j.n', null); ?> - <?php echo JHtml::date($item->enddate, 'j.n', null); ?>
<?php else : ?>
<?php echo JHtml::date($evt, 'j.n', null); ?>
<?php endif; ?>
</div>
Connexion ou Créer un compte pour participer à la conversation.