DBD::Sybase 1.04.8 available
Michael Peppler <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general,gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
I've just placed DBD::Sybase 1.04.8 on http://www.peppler.org/downloads.
This is a "dev" release, and has the following improvements on 1.04.6:
Better date/time formating controls.
1. Date/time values can now be controlled by calling
$dbh->syb_date_fmt(fmt_string) *or* $dbh->{syb_date_fmt} = fmt_string.
2. New ISO date/time formats (for output):
$dbh->{syb_date_fmt} = 'ISO';
will generate a "relaxed" ISO8601 date/time string:
2004-08-22 08:39:08.643
$dbh->{syb_date_fmt} = 'ISO_strict';
will generate a "strict" ISO8601 date/time string:
2004-08-22T08:39:08.603Z
Note that Sybase has no concept of a "timezone", so the trailing Z
simply assumes UTC, which is most likely incorrect. There is no
guarantee that the client and the server run in the same timezone,
though I suppose one could simply assume that the time is in the
client's localtime. Maybe that requires another option?
Anyway - if you're up to it - please download and test this new version,
which should normally be the last dot release before 1.05.
Michael
--
Michael Peppler Data Migrations, Inc.
[email protected] http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html