1
javelin
What's the time?
  • 2006/7/2 15:08

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


I'm in the process of adapting some ideas from a few themes into one.

I'm a cut and paste specialist as I've no real coding knowledge.

This piece of code was taken from a french site, I've changed it to read in english but its an hour too fast.
I'm pretty sure it's not using server time as I've adjusted that and it made no difference.

Any ideas how I can adjust it to lose an hour?

Quote:
<{php}>setlocale(LC_TIME, "uk_UK", "uk");<{/php}><{$smarty.now|date_format:"%A %e %B %Y - %H:%M"}>


The theme - which is very much still in its early days is
called Default2 at This site
My hope is to adopt some features from the Solid silver and blog_lravb themes and apply them to the default theme, and learn a bit about code and css in the process.

Cheers
Mike
I might not be very clever but I can lift heavy weights!

2
javelin
Re: What's the time?
  • 2006/7/2 19:51

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


Still not managed to sort the time issue out and I have a little problem with the footer in Mozilla.

Seems ok in IE and as most of the users use IE this isn't a huge issue but I use Mozilla and it's annoying.

With the older versions of XOOPS I could cut and paste the center left block into the table at the top of the page but for some reason I can't seem to get it to work - any ideas?

Again the site is HERE
I might not be very clever but I can lift heavy weights!

3
McDonald
Re: What's the time?
  • 2006/7/2 19:55

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


What about setting your timezone in the preferences correctly?

See also the following references about time:
-http://nl2.php.net/manual/en/function.setlocale.php
-http://smarty.php.net/manual/en/language.modifier.date.format.php

In XOOPS 2.0.14 the center blocks have changed, see the default theme and/or do a search. It has been mentoined a few days ago.

Login

Who's Online

57 user(s) are online (43 user(s) are browsing Support Forums)


Members: 0


Guests: 57


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits