Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:49 am EST
Geeklog Forums
Date & Time in the Dutch-NL format
city
Anonymous
How can I change the date & time in the Dutch format ?
Can you also change it in a new to post article ?
Can you also change it in a new to post article ?
16
11
Quote
city
Anonymous
I have automatically installed by CPanel. Must the config file be downloaded, changed and then again uploaded ?
12
13
Quote
city
Anonymous
LOCALE SETTINGS |
// | |
// | see docs/config.html#locale for details |
// +---------------------------------------------------------------------------+
$_CONF['language'] = 'dutch';
$_CONF['locale'] = 'en-gb'; ONLY HERE ? nl_NL
$_CONF['date'] = '%A, %B %d %Y @ %I:%M %p';
$_CONF['daytime'] = '%m/%d %I:%M%p';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%I:%M %p';
$_CONF['default_charset'] = 'iso-8859-1';
date, daytime erc. can stay like it is now ?
do you not have the wrong mix then ?
// | |
// | see docs/config.html#locale for details |
// +---------------------------------------------------------------------------+
$_CONF['language'] = 'dutch';
$_CONF['locale'] = 'en-gb'; ONLY HERE ? nl_NL
$_CONF['date'] = '%A, %B %d %Y @ %I:%M %p';
$_CONF['daytime'] = '%m/%d %I:%M%p';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%I:%M %p';
$_CONF['default_charset'] = 'iso-8859-1';
date, daytime erc. can stay like it is now ?
do you not have the wrong mix then ?
28
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The %A etc. are replaced with the current day names, etc. based on the locale. So the only thing you probably want to change there is the am/pm time format. See the documentation for details.
bye, Dirk
bye, Dirk
11
8
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
My settings on a Free-BSD server (characterset required)
$_CONF['locale'] = 'nl_NL.ISO_8859-1';
$_CONF['date'] = '%A %d %B %Y @ %H:%M %Z';
$_CONF['daytime'] = '%m/%d %H:%M';
$_CONF['timeonly'] = '%H : %M : %S';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['default_charset'] = 'nl_NL.ISO_8859-1';
$_CONF['timezone'] = 'Europe/Amsterdam';
Linux server:
$_CONF['locale'] = 'nl_NL';
$_CONF['date'] = '%A, %d %B %Y - %H:%M';
$_CONF['daytime'] = '%d-%m %H:%M';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%H:%M %p %Z';
$_CONF['default_charset'] = 'iso-8859-1';
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Text Formatted Code
$_CONF['language'] = 'dutch';$_CONF['locale'] = 'nl_NL.ISO_8859-1';
$_CONF['date'] = '%A %d %B %Y @ %H:%M %Z';
$_CONF['daytime'] = '%m/%d %H:%M';
$_CONF['timeonly'] = '%H : %M : %S';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['default_charset'] = 'nl_NL.ISO_8859-1';
$_CONF['timezone'] = 'Europe/Amsterdam';
Linux server:
Text Formatted Code
$_CONF['language'] = 'dutch';$_CONF['locale'] = 'nl_NL';
$_CONF['date'] = '%A, %d %B %Y - %H:%M';
$_CONF['daytime'] = '%d-%m %H:%M';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%H:%M %p %Z';
$_CONF['default_charset'] = 'iso-8859-1';
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
7
8
Quote
city
Anonymous
Beewee I thank you for your great work. The linux solution works perfect. I am very glad that someone wanted to help me in this way.
I also gives me confdence for the future.
I had no experience with PHP.
Only 1 question I have. The time on the webiste 14.10 and the real time is 21.10.
Could you help me one time again ?
I also gives me confdence for the future.
I had no experience with PHP.
Only 1 question I have. The time on the webiste 14.10 and the real time is 21.10.
Could you help me one time again ?
13
7
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Assuming you want the dutch/belgian time:
add:
Or do a forum search for the Time Zone hack
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
add:
Text Formatted Code
$_CONF['timezone'] = 'Europe/Amsterdam';Or do a forum search for the Time Zone hack
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
8
8
Quote
city
Anonymous
Quote by city: Beewee I thank you for your great work. The linux solution works perfect. I am very glad that someone wanted to help me in this way.
It also gives me confdence for the future.
I had no experience with PHP.
Only 1 question I have. The time on the website 14.10 and the real time is 21.10.
Could you help me one time again ?
It also gives me confdence for the future.
I had no experience with PHP.
Only 1 question I have. The time on the website 14.10 and the real time is 21.10.
Could you help me one time again ?
10
13
Quote
city
Anonymous
I submitted the rule and uploaded it but still the wrong time. What could I have done wrong ?
16
15
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
city
Anonymous
Because I have no experience with PHP I am afraid that the website will go offline. It looks very simple nevertheless. I succeeded to leave away the time and only the dutch date. That also looks very well and I am really satisfied that this went good so far.
10
10
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
I'm no PHP expert as well (to be more specific: I'm far from being a PHP expert), so we're lucky with all the helpful forum members. Thnx guys!
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
11
10
Quote
city
Anonymous
o.k. I have version 1.3.9 - I understand that it is better to upgrade but I have no experience with it. I hope in the future this can be done automatically or with a wizzard.
24
15
Quote
All times are EST. The time is now 09:49 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content