-
AuthorPosts
-
bucakli Friend
bucakli
- Join date:
- February 2010
- Posts:
- 20
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
February 6, 2010 at 10:10 pm #331852<em>@gray 163853 wrote:</em><blockquote>JA Developer
I’ve implemented this approach already (I posted here the same solution).It would be great to include this code in the next release of Teline III, isn’t it?</blockquote>
you are right:)
March 31, 2010 at 7:14 am #338546<em>@bucakli 163838 wrote:</em><blockquote>i changed
<p class=”ja-day”>
<?php
echo “<span class=”date”>”. JText::_(date (‘d’)) .” / “.JText::_(date (‘m’)).” / “.JText::_(date (‘Y’)).”</span>”;
echo “<span class=”day”> – “.JText::_(date (‘l’)).”</span>”;?>
i solved 06/02/2010 – Cumartesi but i didnot 06 Şubat 2010 – Cumartesi month language always english
but thank you my friend</blockquote>
change date (‘m’) to date (‘F’)
[PHP]
<p class=”ja-day”>
<?php
echo “<span class=”day”>”.JText::_(date (‘l’)).”</span>”;
echo “<span class=”date”>, “.JText::_(date (‘d’)).” “. JText::_(date (‘F’)) .” “.JText::_(date (‘Y’)).” </span>”;
?>
</p>
[/PHP]April 25, 2010 at 4:17 pm #341491<em>@micrantha 154943 wrote:</em><blockquote>OK, I can be more informative now, after friendly tip of Gray:
In my case I replaced original code line
return gmdate("h:i:s A", $sec+$tz).' GMT';
with
setlocale(LC_ALL, 'nl_NL'); //set the output in NL-language
return strftime( "%a %e %b %H:%M %Z" , $sec+$tz).' ';
Output: donderdag 26 nov 16:02 CET
</blockquote>
If i use the sample above, on my site (german, hamburg ) there are 2 hours missing to the actually time. Whats wrong?Thanks for help.
micrantha Friendmicrantha
- Join date:
- May 2007
- Posts:
- 465
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 158 times in 148 posts
April 26, 2010 at 8:08 am #341589Sorry, I don’t know.
Do you get CEST as output? (Central European Summer Time)
(CEST is 2 hours ahead of Coordinated Universal Time (UTC))Regards,
MicranthaApril 26, 2010 at 9:39 am #341605Yes its CEST.
April 27, 2010 at 10:56 pm #341854What must i do to get the right time UTC?
April 29, 2010 at 2:46 am #341971Awesome ! works great for me too. Thanks a lot for the piece of code.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 29, 2010 at 7:58 am #342022<em>@maximomm231 176409 wrote:</em><blockquote>What must i do to get the right time UTC?</blockquote>
Dear maximomm231!
Solution to resolve this issue in there :
http://www.joomlart.com/forums/showp…1&postcount=23
hariorama Friendhariorama
- Join date:
- April 2009
- Posts:
- 174
- Downloads:
- 0
- Uploads:
- 33
- Thanks:
- 50
- Thanked:
- 15 times in 1 posts
April 29, 2010 at 8:02 am #342024page not found?
April 29, 2010 at 5:39 pm #342084Yes a dead link.
<blockquote>Page Not Found!
Image Sorry! The page you are looking for could not be found or is currently unavailable on JoomlArt.com. Please check the link for typing errors and try again.
We update the contents on a regular basis and sometimes, the old contents might have been move to corresponding sections. Please try to use our site map or search for the things you want.
If you find difficulty in navigating through JoomlArt.com, feel free to contact our webmaster.</blockquote>
May 1, 2010 at 4:19 am #342224my date started to show incorrectly since recently. it show one day upfront, for example today its saturday 1st. but it shows monday 1st (or in my case its Sub 1st while it show Ned 1st). any ideas?
<p class=”ja-day”>
<?php
$datum = date(“j F Y”);
$dagvanweek = date(“l”);
$arraydag = array(
“Pon”,
“Uto”,
“Sri”,
“Čet”,
“Pet”,
“Sub”,
“Ned”
);
$dagvanweek = $arraydag;
$arraymaand = array(
“Sij”,
“Velj”,
“Ožu”,
“Tra”,
“Svi”,
“Lip”,
“Srp”,
“Kol”,
“Ruj”,
“Lis”,
“Stu”,
“Pro”
);
$datum = date(“j “) . $arraymaand
. date(” Y”);
echo “$dagvanweek, $datum”;
?>
</p>Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 3, 2010 at 4:23 pm #342513dear fmedia!
Did you follow the solution in this thread
http://www.joomlart.com/forums/showpost.php?p=163809&postcount=28
May 3, 2010 at 5:21 pm #342519<em>@tienhc 176624 wrote:</em><blockquote>Dear maximomm231!
Solution to resolve this issue in there :
http://www.joomlart.com/forums/showp…1&postcount=23</blockquote>
The link is dead – and now?
May 3, 2010 at 9:39 pm #342539now it shows like this
Monday, May 03rd
how can i get it in this format:
Monday, dd. mm.
Thank you
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
May 4, 2010 at 11:07 am #342623<em>@fmedia 177264 wrote:</em><blockquote>now it shows like this
Monday, May 03rd
how can i get it in this format:
Monday, dd. mm.
Thank you</blockquote>
Try this
[php]
<p class=”ja-day”>
<?php
echo “<span class=”day”>”.JText::_(date (‘l’)).”</span>”;
echo “<span class=”date”>, “. date (‘d’) . “.” . date (‘m’).”.</span>”;
?>
</p>
[/php] -
AuthorPosts
This topic contains 61 replies, has 30 voices, and was last updated by euroadvltd 12 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum