Re: new Date extenstion
| From: | Edin Kadribasic | Date: | Mon, 17 Feb 2003 11:58:21 +0000 |
| Subject: | Re: new Date extenstion | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94293@lists.php.net to get a copy of this message | ||
Does the extension take into acount calendar changes like:
$ cal 9 1752
September 1752
Su Mo Tu We Th Fr Sa
1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Edin
----- Original Message -----
From: "Pierre-Alain Joye" <paj@pearfr.org>
To: "phpdev" <php-dev@lists.php.net>
Sent: Sunday, February 16, 2003 4:38 PM
Subject: [PHP-DEV] new Date extenstion
> Hello,
>
> I made a new extension to work with dates, you may find
infos&sources
> here:
> Docs: http://www.pearfr.org/php_date/docs/
> Sources: http://www.pearfr.org/php_date/sources/
>
> This is a alpha release, a first shot. I still have to create a
full set
> of tests script.
>
> The idea is to provide a fullfeatured date/time standart extension
with
> php5.
>
> A non documented function is get_isoweek() which returns the ISO
week
> number. But the weeknumber is a thing we have to discuss, because
there
> are tons of way to represent it. Actually the week #1 is the week
where
> fit 4th of january.
>
> For all date_new_xxx functions, an optionnal arg can be set to
define
> the 1st day week, default is monday.
>
> Todo:
> - strftime()
> - add/clean warnings (overflow, invalid dates,...)
> - add times functions
> This part is real pain if we want to DST times, localtime and so
on.
>
> - add time_span datatype, which represents a time interval in
days,
> hours, seconds, and related functions
>
> - add a true crossplatform localisations, which does not depend of
the
> target platform. That will make our life easier to provide date
> localisations in any cases.
>
> Usefull but not really needed:
> - add additionnals functions for specials days and official
hollydays
>
> any comments, ideas, feedback ?
>
> pierre
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>