Previous Thread
Next Thread
Print Thread
Hop To
#75462 07/28/2002 7:42 AM
Anonymous
Unregistered
Anonymous
Unregistered
Hi. I have my date set to European format (28 July 2002) and everywhere on the forum, it looks like this:

28. July 2002

How do I get that period out of there? I looked at ubb_forum and a few other pages that do $TheDate, but I didn't see where it was forcing a period.

Thanks.

www.aswas.com > websites for both sides of the brain
> > > visit my UBB's: the frenz.com forum and Gratuitous Chats

#75463 07/28/2002 10:02 AM
Anonymous
Unregistered
Anonymous
Unregistered
I just upgraded my UBB from 6.3.0.1 to 6.3.1 and I found exactly the same problem in date display:

28. July 2002

#75464 07/28/2002 10:07 AM
Anonymous
Unregistered
Anonymous
Unregistered
The date formats are hardcoded into ubb_lib_time.cgi so you'll need to implement a code hack to remove it.

Please remember that code hacks are strictly unsupported by Infopop.

Graeme

Moderator: UBB6 How Do I?

NOTE: Any email requests for support will be ignored.

"The ships hung in the sky in much the same way that bricks don't." --Douglas Adams

#75465 07/28/2002 10:24 AM
Anonymous
Unregistered
Anonymous
Unregistered
I'm not going to hack your board. But here is a suggestion. Please fix it in the next release. If I choose a date format of 28 July 2002, it should show up as 28 July 2002 and not the fairly odd 28. July 2002.

Thanks!
Deb

www.aswas.com > websites for both sides of the brain
> > > visit my UBB's: the frenz.com forum and Gratuitous Chats

#75466 07/28/2002 10:56 AM
Anonymous
Unregistered
Anonymous
Unregistered
aswas, try my suggestion. I tried to hack a file ubb_lib_time.cgi but no result. Then I overwrited it from the ZIP full release (not upgrade!!!) and it started work normally, without "."

#75467 07/28/2002 11:27 AM
Anonymous
Unregistered
Anonymous
Unregistered
Thanks for trying and for letting me know what worked for you, but mine is still showing the dot. I uploaded the file, cleared the cache, and it's still got the dot.

UBB people???

www.aswas.com > websites for both sides of the brain
> > > visit my UBB's: the frenz.com forum and Gratuitous Chats

#75468 07/28/2002 11:37 AM
Anonymous
Unregistered
Anonymous
Unregistered
In ubb_lib_time.cgi, there is a section that says this:

#date format options
if ($vars_time{DateFormat} eq "US") {
$FormattedDate = $_[0];
} elsif ($vars_time{DateFormat} eq "Euro") {
$FormattedDate = "$mday.$mon.$year";
} elsif ($vars_time{DateFormat} eq "USX") {
$FormattedDate = "$months[$mon] $mday, $year";
} else {
$FormattedDate = "$mday. $months[$mon] $year";
}
return ($FormattedDate);


I just changed $mday. to $mday in that last one, and voila. I guess you could say I've hacked your board, but for one character, I hardly feel like a naughty person. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Thanks,
Deb

www.aswas.com > websites for both sides of the brain
> > > visit my UBB's: the frenz.com forum and Gratuitous Chats

#75469 07/28/2002 11:38 AM
Anonymous
Unregistered
Anonymous
Unregistered
6.3.1 is SUPPOSED to have the dot. All I can say is "designed behaviour". <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />

What IS a bug is the description in the CP - it is a wordlet (vars_time_dateformat_eurox) that should include the period.

I'm going to flag this as a bug in the beta testing area - no need to report here.

Graeme

Moderator: UBB6 How Do I?

NOTE: Any email requests for support will be ignored.

"The ships hung in the sky in much the same way that bricks don't." --Douglas Adams

#75470 07/28/2002 2:28 PM
Anonymous
Unregistered
Anonymous
Unregistered
In what country does the date look like 28. July 2002? I can understand if you meant 28.07.02 or even 28.Jun.02. But 28. July 2002 is not a recognised format in any place I can imagine. OK, maybe not a bug. Let's call it a typo. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

Thanks.

www.aswas.com > websites for both sides of the brain
> > > visit my UBB's: the frenz.com forum and Gratuitous Chats

#75471 07/28/2002 2:43 PM
Anonymous
Unregistered
Anonymous
Unregistered
That's the date format as they use it in Germany... someone at Infopop probably accidentally included a file from the German release? Either that or it's just a typo <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

Well... must be a typo then since the German version is not out yet. And if someone at Infopop deliberately added this then it's a bug <img src="https://www.ubbcentral.com/boards/images/graemlins/tongue.gif" alt="" />

Graeme - this simply CANNOT be designed behaviour, as it's not a valid date format for ANY European country other than German. I should know, I'm from The Netherlands. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

#75472 07/28/2002 5:03 PM
Anonymous
Unregistered
Anonymous
Unregistered
It is the designed behaviour - trust me. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> At least that's what I read in a certain post by a certain UBB programmer. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> (And NOT just for the German version)

Whether or not you agree with the designed behaviour is another issue altogether (I have no opinion since I don't use that date format <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> )

Graeme

Moderator: UBB.classic Assistance Forum

NOTE: Any email requests for support will be ignored.

"The ships hung in the sky in much the same way that bricks don't." --Douglas Adams

#75473 07/29/2002 2:29 AM
Anonymous
Unregistered
Anonymous
Unregistered
Well let me reprashe that then - it may be designed behavior ofcourse, but it should not be. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

#75474 07/29/2002 12:12 PM
Anonymous
Unregistered
Anonymous
Unregistered
This is the currently designed behavior. We will be adding user-selectable timezone & time formats in a future release, which will make this a moot point. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

That time format is used mainly by European countries, most of which use . where we would use ,. This is intentional.

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!

#75475 07/29/2002 12:40 PM
Anonymous
Unregistered
Anonymous
Unregistered
That's the THIRD time I've said it now - no European country other than Germany uses a dot in their date formatting. <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />

#75476 08/05/2002 7:55 AM
Anonymous
Unregistered
Anonymous
Unregistered
We use the following format here in Hungary:
2002. augusztus 5.
or
2002. aug. 5. if we're too lazy to type.

Lotsa dots. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

#75477 08/05/2002 1:37 PM
Anonymous
Unregistered
Anonymous
Unregistered
LOL <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

@Bug []Hunter@[/]

#75478 08/05/2002 5:26 PM
Anonymous
Unregistered
Anonymous
Unregistered
Quote
That time format is used mainly by European countries, most of which use . where we would use ,. This is intentional.
Nowhere in the English-speaking world will you find the date written like "28. June 2002". The typos on my local Chinese takeaway menu are "designed behavour", but the designer got it wrong. Intentionally? I do hope not!

<img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

#75479 08/06/2002 10:07 AM
Anonymous
Unregistered
Anonymous
Unregistered
As was pointed out, most non-English speaking European countries write the date like that. I should know, I live in one. It's amazing how some people who don't have a clue about continental Europe just assume they're right based on their own false perceptions. Incidentally, I live in Slovenia. 28. July or whatever means the same as 28th July here when read or written.

/me smacks the wiseguys with a trout

#75480 08/11/2002 3:41 PM
Anonymous
Unregistered
Anonymous
Unregistered
Quote
Originally posted by Graeme:
It is the designed behaviour - trust me.
I don't trust you on that one that easy.
If this were the case then why doesn't the example on the Date & Time setting Control Panel page show what you intended in your designed behaviour?
This also holds true for the European format: the example shows like: 25-04-2002 (the way it should be in my humble opinion) but in actual practice you get: 25.04.2002 This is a notation I have hardly seen used by the way.

#75481 08/11/2002 3:54 PM
Anonymous
Unregistered
Anonymous
Unregistered
Quote
Originally posted by Kitt:
That's the THIRD time I've said it now - no European country other than Germany uses a dot in their date formatting. <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />
That's not true, I've been to la Suisse and they also use it <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> okay, so they also speak german.. but.. but.. it's not germany <img src="https://www.ubbcentral.com/boards/images/graemlins/tongue.gif" alt="" />

--------------------
UBBDev.com - Where UBB developers come for answers!

#75482 08/11/2002 5:01 PM
Anonymous
Unregistered
Anonymous
Unregistered
Quote
If this were the case then why doesn't the example on the Date & Time setting Control Panel page show what you intended in your designed behaviour?
This also holds true for the European format: the example shows like: 25-04-2002 (the way it should be in my humble opinion) but in actual practice you get: 25.04.2002 This is a notation I have hardly seen used by the way.
Cause THAT's a bug. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

(I'm not arguing here for or against the designed behaviour - I don't use the European format so it really doesn't affect me).

That bug was reported to the private beta group and CC has reported it fixed. There hasn't been a private beta release since then so I can't comment further.

Graeme

Moderator: UBB.classic Assistance Forum

NOTE: Any email requests for support will be ignored.

"The ships hung in the sky in much the same way that bricks don't." --Douglas Adams


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)