Anyone want to tell me what the %E* modifier is supposed to do for
stftime?
And do we need it? How about the %O* modifier? Is implementing that
important?
-dave
/*===
House Absolute Consulting
www.houseabsolute.com
===*/
For those who care, CVS checkin diffs are sent to the
[EMAIL PROTECTED] list (sign up via sourceforge).
For now, I don't want to really discuss anything on that list, because the
project hasn't really gotten to the point where only a core group of
developers should discuss development issues.
Dave Rolsky wrote:
[...]
Make that:
$month[ $date-month_0 ] vs. $date-month_name
$date-month returns a 1-based numbers
$date-month_0 a 0-based named
$date-month_name returns a name based on the DateTime::Language module
the $date object is holding onto.
While I like returning 1 based numbers
On Monday, January 13, 2003, at 10:14 PM, Dave Rolsky wrote:
I _don't_ want to discuss implementation of this. I want to talk
about the API!
Agreed; I'm making this argument specifically because I think the
proposed API is clearer.
Looking at the two alternatives, does the second really
On Mon, Jan 13, 2003 at 01:00:54PM -0800, Yitzchak Scott-Thoennes wrote:
On Mon, 13 Jan 2003 13:55:17 -0600 (CST), [EMAIL PROTECTED] wrote:
So, this sounds like something very high level, which shouldn't be
considered part of the base object. But.. it is needed for really
low-level
Rich Bowen wrote:
leap seconds seem kinda arbitrary. Is that just a table that you look up
in?
Basically, yes.
Just like leap years, but there is no rule (there is no exact
calculations
for it).
Some (rarely) days will have one 0-60 seconds minute (instead of 0-59).
See also: Date::Leapsecond
Dave Rolsky wrote:
use DateTime;
use DateTime::Parse::MySQL;
my $dt = DateTime::Parse::MySQL-new_datetime( $mysql_dt );
print DateTime::Parse::MySQL-mysql_datetime( $dt );
I can also imagine some other scheme, where parse/format modules register
the formats they can handle with
John Peacok wrote:
Dave Rolsky wrote:
4. Given the choice between adding more parameters or more methods, I
prefer to add more methods, which is why I dislike
DateTime-new( mysql = $mysql_dt )
as opposed to
DateTime-from_mysql_datetime( $mysql_dt )
I don't like the
On Tue, 14 Jan 2003, Jonathan Scott Duff wrote:
I was thinking that a sort of DBI/DBD dichotomy could be applied to
DateTimes but along multiple dimensions. Something like this:
my $dt = DateTime(
parser = DateTime::Parser::MySQL,
formatter =