Path: news.ruhr-uni-bochum.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!blackbush.xlink.net!tank.news.pipex.net!pipex!lade.news.pipex.net!pipex!news.be.innet.net!INbe.net!news.nl.innet.net!INnl.net!hunter.premier.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!nntp.teleport.com!usenet
From: Graham Barr <
[email protected]>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc
Subject: ANNOUNCE: TimeDate-1.04
Followup-To: comp.lang.perl.misc
Date: 2 Jul 1996 14:35:01 GMT
Organization: Texas Instruments Ltd.
Lines: 43
Approved:
[email protected] (comp.lang.perl.announce)
Message-ID: <
[email protected]>
Reply-To: <
[email protected]>
NNTP-Posting-Host: julie.teleport.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: news.ruhr-uni-bochum.de comp.lang.perl.announce:362 comp.lang.perl.misc:35961
I have just uploaded to CPAN a release of the TimeDate distribution.
It contains the following additions :
* The addition of %z to date formats, to output the timezone as +0100.
* A first pass at internationalization. It can now parse and
format dates in English, French, German and Italian.
As this is only a first pass for Date::Language the documentation is
non-existent. See t/lang.t for a short example
Parsing and formatting international dates is done by calling static
methods, eg
Date::Language::German->ctime(time);
or on an object;
$g = Date::Language::German->new();
$g->ctime(time);
all the subroutines from Date::Parse and Date::Format can be called as
methods for international dates.
It should be avaliable on mirror sites soon.
Comments are always very welcome.
Copyright 1996 Graham Barr. All rights reserved.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Share and Enjoy!
Graham <
[email protected]>
--
Graham Barr <
[email protected]>
Texas Instruments Ltd.