[Tb] bilingual date formats?

From: Oliver Wrede <owrede__AT__principle-design.de>
Date: Thu Mar 25 2004 - 10:30:52 EST

Hello.

Tinderbox does offer a way to format a date (at least a long format) in
the language the system provides:

        ^Get(PublicationDate,"L")^

I checked to see what formatting Tinderbox offers by doing this:

        ^Get(PublicationDate,"a b c d e f g h i j k l m n o p q r s t u v w x
y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z")^

Which returned this result:

        d - number of day

        l - full date in localized writing (e.g. 24.03.2004 on german OS)

        m - number of month (without leading zero on numbers <10)

        t - localized time (e.g. "18:01 Uhr" on german OS)

        w - short weekday in English (e.g. "Wed")

        y - year (e.g. "2004")

        L - localized long date (e.g. "Mittwoch, 24. M?rz 2004" on german OS)

        M - short 3-letter month name (localized?)

        W - long weekday name in English

Now for all those bilingual users (like me): I run sites in German and
other sites in English. So I need different format styles depending on
what language is relevant in a context. At least: if the month and day
names can be bilingual I'd be happy to be able to use hours, minutes
and seconds in several ways, but as the list above shows - there are no
hours, minutes, seconds, am/pm available.

I can't do many formats - in particular because there is no way to
access the timestamp with anything other than "t".

        March 21st - 2:00 p.m.

        14:00

        13.3. (Montag, 14 Uhr)

etc.

Anyone has an idea how to workaround this?

Regards,
Oliver

Prof. Oliver Wrede
wrede__AT__fh-aachen.de
http://weblogs.design.fh-aachen.de/owrede/

Fachbereich Design
Fachhochschule Aachen
Received on Thu Mar 25 10:30:52 2004

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 10:45:20 EST