RE: Time zones?

2005-11-04 Thread Hill, Ronald
Hi Jason, Jason Bodnar wrote: #!/usr/bin/perl use DateTime::Format::Strptime; my $parser = new DateTime::Format::Strptime(pattern = '%d-%b-%Y %H:%M %Z', on_error = 'croak'); my $dt = $parser-parse_datetime(30-Oct-2005 01:04 America/Los_Angeles);

RE: Time zones?

2005-11-04 Thread Hill, Ronald
Hi Jason, Jason Bodnar wrote: DateTime complains that PST is ambiguous so I tried replacing PST with 'US/Pacific', 'America/Los_Angeles' and 'PST8PDT' but DateTime says it doesn't recognise [sic] any of those. So what timezone label will DateTime accept for Pacific Standard Time? Odd,

RE: months between 2 dates

2005-10-18 Thread Hill, Ronald
Hello Badri, Soundararajan, Badrinarayanan wrote: Hi, (snipped) Initially i used DateManip's DateCalc method, but that is hogging too much memory. Perhaps you could provide the code you have. So i am trying to move to DateCalc. Could you give me the basic logic and conditions to

RE: months between 2 dates

2005-10-18 Thread Hill, Ronald
Hi Badri, Soundararajan, Badrinarayanan wrote: Hi, This is the code i originally had and this is what i replaced with. both are hogging a lot of time. (code snipped) Here is my attempt using DateTime :-) use strict; use warnings; use DateTime; use DateTime::Format::Strptime; my $format

DateTime-Format-Duration failing tests (1.02 version)

2005-09-21 Thread Hill, Ronald
Hi Rick, DateTime-Format-Duration is failing its tests for 2_fmt_normalise. Any ideas? Thanks Ron Hill D:\perl_modules\DateTime-Format-Duration-1.02nmake test Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

RE: hires DateTime-from_epoch( epoch = ... ) values

2005-08-08 Thread Hill, Ronald
On Mon, 25 Jul 2005, Joshua Hoblitt wrote: a) do nothing... nobody else seems to have noticed b) document the limited precision issue c) change the API to some awful Fortranish a part + b part to preserve precision d) turn the epoch parameter into a Math::BigFloat so a high resolution

RE: perl -w causes 8 error messages on each call of timelocal()

2005-07-29 Thread Hill, Ronald
Hi Ortwin, using the time::local module I found that the timelocal() function causes 8 error messages each time the function is used. If in the shebang the option -w is removed the error messages in the http server log stop. I have tested it here and have no problems. BTY you should be Using

RE: Error Message using Time::Local

2005-07-19 Thread Hill, Ronald
Hi Behzad, (snipped) CASE 1 -- use Time::Local 'timelocal_nocheck'; use Time::Local qw(timelocal_nocheck timelocal); Should fix that :-) CASE 2 -- Use Time::Local; Use of uninitialized value in integer multiplication (*) at C:/Perl/lib/Time/Local.pm

RE: DT::C::Chinese fails a bunch of tests

2005-06-28 Thread Hill, Ronald
Hi Maki, On Tue, 28 Jun 2005, Daisuke Maki wrote: Dave, I seem to have found it. DT::Util::Calc's mod() function behaves oddly when using $bigint-bmod($mod). Can you confirm that this will fix your problems? I am testing this and am unable to install. DateTime-calendar-chinese requires

RE: Problems Installing

2005-03-07 Thread Hill, Ronald
Hi Rick, Rick Brewer wrote: I consistently get an error on the make command at this point: +++ pm_to_blib: $(TO_INST_PM) @$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \ -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Install \ -e pm_to_blib(qw[ pmfiles.dat

RE: Problems Installing

2005-03-07 Thread Hill, Ronald
Hi Rick, Rick Brewer wrote: Hi Ron, I used the ActiveState version of perl which installed w/o needing a C compiler.I installed DJGPP in order to install the dateTime modules. [snippage] perl -V shows: +++ Compiler: cc='cl.exe', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32

RE: cpan.org - Convert DateTimes to/from Unix epoch seconds - help please

2005-02-09 Thread Hill, Ronald
Aliasghar Jagani wrote: Hi, (snipped) I found a converter on cpan.org but am not sure what i need to do to make it work, like what to download, how to install the script, etc. Can someone please explain all this to me? Found in F:\perl\5.8.3\lib\pod\perlfaq8.pod How do I install a

RE: DateTime Subtraction

2005-01-27 Thread Hill, Ronald
Hi Todd, Todd Goldenbaum wrote: I'm curious now though, what is $duration-days used for, if not for expressing the length in days of a $duration? From the Docs: These methods return numbers indicating how many of the given unit the object represents, after having taken away larger units.

RE: DateTime Subtraction

2005-01-25 Thread Hill, Ronald
Hi Todd, Todd Goldenbaum wrote: Hello, I'm trying to find the difference betwen two datetime objects, but I'm getting some unexpected results. I start with two dates out of mysql (code simplified a bit for this example): my $start_date = DateTime::Format::MySQL-parse_date(

Should we add this to the FAQ (was:DateTime Subtraction)

2005-01-25 Thread Hill, Ronald
Hi Dave, Dave Rolsky wrote: On Tue, 25 Jan 2005, Hill, Ronald wrote: Yeah, I noticed this too. It's a bug (the docs are right) and will be fixed in the next release. I checked the FAQ for this topic (delta_days)and did not find one. Do you think we should add this question to the FAQ

RE: Win32 testers for Time::Local?

2005-01-11 Thread Hill, Ronald
Dave Rolsky wrote: If some Win32 folks could grab the latest CVS version of Time::Local and run the tests that'd be very helpful. -dave G:\modules\Time-Localperl makefile.pl Checking if your kit is complete... Warning: the following files are missing in your kit: META.yml Please

[OT] CPAN coverage report What is it?

2004-07-13 Thread Hill, Ronald
Hi All, Has anyone seen this: http://pjcj.sytes.net/cpancover/ What is it? and more importantly, what do the columns mean? Is this something the we (the developers) need to worry about? Thanks Ron Hill

RE: Windows PPM release?

2004-04-14 Thread Hill, Ronald
Hi All, I guess I should chime in on this. Robert Eden wrote: Has there been any progress on a windows PPM release? (or fixing whatever problem the automated tool has) Hmn!! Automated tool :) I wish we had one :) Well, I have started something along the lines of an automated tool. It is by

Datetime-format-Datemanip-0.04 fails it's test

2004-04-13 Thread Hill, Ronald
Hi All, I just tried to install the DateTime-Datemanip module and it fails it's tests Results below. Ron F:\perl_modules\DateTime-Format-DateManip-0.04nmake Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

RE: ANNOUNCE: Time::Local 1.09

2004-04-07 Thread Hill, Ronald
Dave Rolsky wrote: 1.092004-04-07 - Fixed a bug in the test suite that led to timegm not getting tested properly, and timelocal getting tested twice for the same values. testing on Win32 produces a lot of warnings [sample below] Use of uninitialized value in integer addition (+) at

RE: Latitude/Longitude to Olsen timezone name

2004-03-26 Thread Hill, Ronald
Ed Perrone wrote: I am working on an application where the user will input a date, time, and location, and I will need to convert that time into the equivalent GMT. This means I will need to locate the input data within one of the Olsen time zones in order to create and manipulate a

RE: Template::Plugin::DateTime

2004-03-22 Thread Hill, Ronald
Hi Daisike, Daisuke Maki wrote: I'd like to use DateTime object from within the Template-Toolkit, so I hacked this up. Feedback welcome. You might want to post to the template toolkit mailing list on this one. [EMAIL PROTECTED] I'm sure they would want to know about this. I hope the move

RE: Converting the sunrise module to use DateTime-util-calc

2004-02-26 Thread Hill, Ronald
Hi Daisuke, Daisuke Maki wrote: I'm fairly sure this is ok, but as I did it in such a hurry, can you just download this and double check for me before I upload it to CPAN? http://www.wafu.ne.jp/~daisuke/DateTime-Util-Calc-0.03.tar.gz Wait!!! I was going to ask you to add some functions

RE: DateTime::Calendar::Japanese 0.03 - problem _new from DateTim e::Event::Sunrise

2004-02-06 Thread Hill, Ronald
Daisuke Maki wrote: Or, am I suppose to use the sunrise_sunset_span? I think so. fixin'... --d [snipped] Yes, use that method, the start will be the rise time and the end will be the set time. Ron

RE: DateTime::Calendar::Japanese 0.03 - problem _new from DateTim e::Event::Sunrise

2004-02-05 Thread Hill, Ronald
[EMAIL PROTECTED] wrote: Summary of the problem: Creating new 'Build' script for 'DateTime-Calendar-Japanese' version '0.03' Running [/usr/perl/v5.8.3/bin/perl Build UNINST=1]... lib/DateTime/Calendar/Japanese.pm - blib/lib/DateTime/Calendar/Japanese.pm Manifying

RE: date time support for win32

2004-01-30 Thread Hill, Ronald
Dave Rolsky wrote: On Fri, 30 Jan 2004, Hill, Ronald wrote: [snipped] This all works (now!!) I was having major problems creating the archive. It seems that Archive-tar-1.08 did the trick :) What about the versions of perl? 5.004, 5.6.1, 5.8.0, 5.8.3 ? But doesn't ActiveState already

RE: date time support for win32

2004-01-30 Thread Hill, Ronald
Dave Rolsky wrote: On Fri, 30 Jan 2004, Hill, Ronald wrote: [snipped] failed building DateTime-Locale prerequisite YAML aborting build of DateTime-Locale: failed prerequisites DT::Locale doesn't need YAML! WTF?! Don't ask me :) It includes a META.yml file, courtesy of Module::Build

RE: date time support for win32

2004-01-30 Thread Hill, Ronald
Dave Rolsky wrote: On Fri, 30 Jan 2004, Hill, Ronald wrote: I think it is time that we do come up with a standard way of shipping out modules. ( Module-Build or makemaker)It sure would make installing DateTime modules much simpler. It would? Why? As long as the Module::Build using

[Announce] Datetime-Event-Sunrise-0.05 on CVS

2004-01-19 Thread Hill, Ronald
Hi All, I just updated DateTime-Event-Sunrise on CVS to include the new methods sunrise_sunset_span, sunrise_datetime, sunset_datetime. Example: (per Flavio) my $sun = DateTime::Event::Sunrise-new( longitude ='-118' , latitude = '33' ); my $dt1 =

[Announce] updated version of DateTime::Event::Sunrise on CVS

2004-01-09 Thread Hill, Ronald
Hi All, I have just updated the DateTime::Event::Sunrise package on CVS. I have added a new method sunrise_sunset (and a new method). Basically, it will return a DateTime Span containing the rise/set times. Example: use DateTime; use DateTime::Event::Sunrise; use strict; use warnings; my $dt =

RE: [Announce] updated version of DateTime::Event::Sunrise on CVS

2004-01-09 Thread Hill, Ronald
Flavio S. Glock wrote: Hill, Ronald wrote: Hi All, I have just updated the DateTime::Event::Sunrise package on CVS. I have added a new method sunrise_sunset (and a new method). [snipped] Is this too verbose? my $dt_span = $sunrise-sunrise_sunset_span( datetime = $dt ); print

Help with generating a Datetime set using the from_datetime metho d

2004-01-08 Thread Hill, Ronald
Hi Flavio, I'm stuck :( I am trying to implement the changes that were discussed recently on the list and am running into problems. Here is what I have tried: I have renamed the currect sunrise_sunset to _sunrise_sunset (easy) then I wrote a new sunrise_sunset sub to accommodate the change

I need help creating a custom Date parser

2003-12-09 Thread Hill, Ronald
Hi All, I am kinda stuck creating a DateTime parser. The dates I am trying to parse are: 06/26/98 06-26-98 Jun 26 1998 Jun 26 98 I have the first two done and working but the third and forth is giving me fits :( Here is what I have tried; I created a new package like so, package

RE: I need help creating a custom Date parser

2003-12-09 Thread Hill, Ronald
Hi Rick, On Tue, 9 Dec 2003 12:29:33 -0800 , Hill, Ronald wrote my $dt = DateTime::Format::UGAnswer-parse_date('Jan 26 2001'); print $dt-mdy; I have tried messing with this line in the package strptime = '%B%N%d%N%Y' in order to get it to work but nogo %N

Mapping an offset to a datetime timezone

2003-11-05 Thread Hill, Ronald
Hi All, I have recently updated the test scripts for the Astro::Sunrise module and would like to incorporate these changes into the DateTime::Event::Sunrise test suite. However, I am unable to map an offset into a datetime timezone. Is there a way to take an offset say -8 hours and look this up

[OT] Anyone attending Comdex/Apachecon 2003?

2003-11-03 Thread Hill, Ronald
Hi All, I was just wondering if anyone on the list is planning to attend Comdex/Apachecon 2003? Ron Hill

RE: Availability of pre-built ActiveState installation?

2003-10-30 Thread Hill, Ronald
Hi Kevin, Guys, I was wondering if anyone had a pre-built ActiveState implementation of DateTime and its dependants. I have [snipped] What version of perl? I have the ppd's for version 5.8.0. Just let me know if you want them. (they are kinda outdated) Ron Hill

RE: [Kinda OT] Could somebody double check this?

2003-10-13 Thread Hill, Ronald
Hi Maki, Hi, dt-ers. I've been lurking on this list for some time now, and so far I understand that while a few people have attempted, nobody has come up with a lunar, solar, or lunisolar calenders (at least I don't remember seeing it on this list). This is correct, there was talk of

RE: [Kinda OT] Could somebody double check this?

2003-10-13 Thread Hill, Ronald
Hi Maki, [snipped] [Ronald Hill Wrote] This is correct, there was talk of doing this however, it is not easy. The last I heard, there was work on getting the SLA library released under the LGPL. (hopefully this will include a windows port of the library) This library has all of

RE: DT-subtraction bugs in DT::F::Excel and DT::Event::Sunrise

2003-10-09 Thread Hill, Ronald
Hi Dave, On Tue, 7 Oct 2003, Hill, Ronald wrote: Thanks for that!! I just started looking at the sunrise module to do some updates for preserving the timezone. I just installed the new release of DateTime 0.1704 and all tests now pass for sunrise :) 0.1704 is really broken so

RE: DateTime Problem with nmake test

2003-10-03 Thread Hill, Ronald
Hello, # New locale: it # Failed test (t\20infinite.t at line 61) # got: '-2147483648' # expected: '2147483648' # Failed test (t\20infinite.t at line 61) # got: '-2147483646' # expected: '2147483648' # Looks like you failed 2 tests of 39. Failed 1/26

RE: DateTime::Event::Sunset problems

2003-09-25 Thread Hill, Ronald
Hi Matt, [snipped] If not, at least make sure that the module clearly states the UTC behavior. Matt It does, from the POD See DateTime::Set. =head2 ($sunrise, $sunset) = $sunrise_object-($dt); Internal method. Returns two DateTime objects sunrise and sunset. Please note that

RE: Install Problem with DateTime.pm

2003-09-25 Thread Hill, Ronald
Hello, [snipped] I'm stumped.. I have a problem installing DateTime.pm. I get a LNK1106 U1077 with the 'nmake' command. The messages for PERL- V and 'nmake' are below. I am using Windows XP and VC++ 5 I have plenty of available space on my hard drive and there are no integrity

RE: figuring out the number of sundays in a given year

2003-09-17 Thread Hill, Ronald
Hi Josh, Hi Ron, I'm a bit confused by your parameters to day_of_week(). This is the actual implementation from DateTime.pm sub day_of_week { $_[0]-{local_c}{day_of_week} } -J I compute the number of days in the current year I figure out the day of week for january the

[OT] Article idea for The Perl review 'Introduction to DateTime'

2003-08-26 Thread Hill, Ronald
Hi All, I wanted to ask the group about an idea I have for an article for the perl review. This would be a beginner/newbie article on basic usage of DateTime. I have put together some ideas starting with getting things into/out of DateTime and comparing dates. Any other ideas for the article? I

RE: [OT] Article idea for The Perl review 'Introduction to DateTi me'

2003-08-26 Thread Hill, Ronald
Hi Iain, * Hill, Ronald ([EMAIL PROTECTED]) [27 Aug 2003 03:04]: I wanted to ask the group about an idea I have for an article for the perl review. The Perl Review is on hold until brian d foy comes back from active duty. Perhaps try TPJ? Hmn! That is what I thought until I

Problems generating a set using the DataTime::Easter module

2003-08-15 Thread Hill, Ronald
Hi All, I am having problems generating a set using the DateTime:;Easter module. Here is the code. #!/usr/bin/perl use strict; use warnings; use DateTime; use DateTime::Set; use DateTime::Event::Easter; my $easter_sunday = DateTime::Event::Easter-new(); my $dt1 = DateTime-new( year = 2000,

RE: Get the right C compiler?

2003-08-14 Thread Hill, Ronald
Hi Iain. * Dave Rolsky ([EMAIL PROTECTED]) [10 Aug 2003 00:38]: On Sat, 9 Aug 2003, Iain Truskett wrote: This make sense? make's default $(CC) may have no relation to the one Perl was compiled with, so shouldn't we use what knowledge we can get? [snipped] Good question.

[Test Report] RE: ANNOUNCE: DateTime 0.1601

2003-08-07 Thread Hill, Ronald
Hi Dave, 0.1601 2003-08-07 [ BUG FIXES ] F:\perl_modules\DateTime-0.1601nmake test [snipped] All tests successful, 4 subtests skipped. Files=26, Tests=1455, 12 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Looks good :) Ron Hill

RE: Re perl SQL daylight saving problem

2003-07-18 Thread Hill, Ronald
Hi Arno, [snipped] Dear Sirs Please help. My problem is that when reading data from the Data Base via Perl script all extracted dates remain unchanged by Perl except dates within Daylight Savings periods. How are you extracting the dates? Are you using DBI? Are you using the sql

RE: Problems installing on Win32.

2003-07-17 Thread Hill, Ronald
Hi Nick, I really want to play with this module but I just can't get the thing to make. I'm no guru or coder I just muck about with perl so working out how to install DateTime-0.13 into ActivePerl using CPAN was an effort in itself. [snipped] What version of activestate perl are you

RE: nmake test failure on perl 5.8.0 CVS version of datetime.pm

2003-07-16 Thread Hill, Ronald
Hi Dave, [snipped] The test was wrong, I believe. Either that or the locale had a bug that is now fixed. yes, It now passes on 5.8.0 [more snippage] I can't stress this enough. When tests fail, please rerun the tests with 'make test TEST_VERBOSE=1 TEST_FILES=t/...' This gives

nmake test failure on perl 5.8.0 CVS version of datetime.pm

2003-07-15 Thread Hill, Ronald
Hi All, Test report for the CVS version of datetime. Is there a better place to post test results other than on the newsgroup? Hope this helps. Ron Hill [snipped] t\13strftime..NOK 41# Failed test (t\13strftime.t at line 44) # got: 'Sep 7, 1999 1:02:42 PM' #

RE: DateTime parse(), parser()

2003-07-14 Thread Hill, Ronald
Hi John Iain On Sunday, July 13, 2003, at 08:11 PM, Iain Truskett wrote: Remember: part of the point of having the various format modules is that you can pick'n'mix. You could conceivably wrap a number of them in Builder to make your own parser that recognizes the sorts of dates you

RE: Announce: DateTime-Format-HTTP-0.33

2003-07-07 Thread Hill, Ronald
Hi Iain, The uploaded file DateTime-Format-HTTP-0.33.tar.gz has entered CPAN as file: $CPAN/authors/id/S/SP/SPOON/DateTime-Format-HTTP-0.33.tar.gz size: 17937 bytes md5: 9f42cd9cd33c217d099337dc18f57758 This module provides an interface between DateTime and

RE: ppm builds for Win32?

2003-07-01 Thread Hill, Ronald
Hi Dave, On Tue, 1 Jul 2003, Hill, Ronald wrote: [snipped] Hmm, the recent releases of Archive::Tar are totally rewritten in Perl, primarily in order to work consistently across all platforms. What version do you have? I curently have version 0.23 I checked th eBuild.pl file

RE: ANNOUNCE: DateTime::Format::Strptime 1.0301

2003-06-26 Thread Hill, Ronald
Hi Rick, [snipped] F:\perl_modules\DateTime-Format-Strptime-1.03nmake test Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. F:\perl\bin\Perl.exe -Mblib -IF:\Perl\lib -IF:\Perl\lib -e use Test::H verbose);

RE: ANNOUNCE: DateTime 0.13

2003-06-26 Thread Hill, Ronald
Hi Cameron, I still can't get the ppm to work in Windows: We have not yet build the ppm file as of yet (the new one) I just installed it myself and I need to build it. Ron Hill

RE: ANNOUNCE: DateTime::TimeZone 0.21

2003-06-26 Thread Hill, Ronald
Hi Dave, [snipped] 0.21 2003-06-25 - Switched to Module::Build, which should fix the installation problems caused by very long Makefile lines on some platforms. I just tried on HPUX 10.20 HP's ANSI c compiler and was unable to install the module :( This was due to a dependency

RE: Win32 failures in t/20infinite.t

2003-06-16 Thread Hill, Ronald
Hi John, Dave Dave Rolsky wrote: Ok, I applied this. Does this mean all tests pass on Win32 now? I don't know; I'm at home (Linux only, thanks) and not at work. I'll get the latest CVS and double check on Monday. Is that soon enough? John G:\modules\DateTime.pmnmake test

RE: Getting DateTime with ActiveState ppm

2003-06-13 Thread Hill, Ronald
Hi Cameron, Hi everyone. I just tried to install DateTime in Windows with ppm but it crashed ppm. This is what I did: ppm repository add 'DateTime Repository' \ http://datetime.perl.org/download/5.8.0 ppm install DateTime and then ppm crashes with some perl

Re: [perl #22568] error running make against makefile for DateTim e-TimeZone-0.16

2003-06-06 Thread Hill, Ronald
Hi Dan, I am the sysadmin, and we do have a /bin/sh. [snipped] I wish that it were that simple. Basically, I have some developers that need this module so that they can use another module, but this is the only one that I have had any problems with. Would you like a copy of the Makefile?

RE: DateTime 0.12CVS - Success from Cygwin, still failing under V C++

2003-06-05 Thread Hill, Ronald
Hi John, [snipped] Specifically, the first failure is this block: { my $dt = DateTime-from_epoch( epoch = -2082844800 ); #fails here is( $dt-year, 1904, 'year should be 1904' ); is( $dt-month, 1, 'month should be 1904' ); is( $dt-day, 1, 'day should be 1904'

RE: DateTime 0.12CVS - Success from Cygwin, still failing under V C++

2003-06-05 Thread Hill, Ronald
Hi John, And to follow up on that, it appears that POSIX used the C definition for gmtime() and it does not *explicitely* require support for negative time_t values. It appears that DEC implementated negative time_t support and other vendors added it as well (AIX 3.2.5 has it

RE: DateTime 0.12CVS - Success from Cygwin, still failing under V C++

2003-06-05 Thread Hill, Ronald
On Wed, 4 Jun 2003, John Peacock wrote: The t/13strftime.t file has DOS line endings, which causes all tests to fail under Cygwin. If that is corrected, then Cygwin tests completely clean. Really? I can't see them. I think I know what went wrong. I updated my modules from CVS

RE: Windows once more

2003-06-04 Thread Hill, Ronald
But DT::TZ installs normally without DT.pm being installed, so I don't know what the problem is. -dave But you can't run the tests without DT.pm. I think that is what he is referring to. Ron

RE: RH9: Cannot determine ...

2003-06-03 Thread Hill, Ronald
Hi Rick, I'm having problems with RedHat 9. Now it could just be my install, but someone might be able to help me. I know this is offtopic, but the problem only reared it's head when installing DateTime. The problem is this: in shell, I can't type a quote without a seqeunce such as

RE: installing DateTime-TimeZone-0.17 on HPUX 10.20... or Cygwin

2003-06-03 Thread Hill, Ronald
Hi Dave, On Mon, 2 Jun 2003, Ben Bennett wrote: I still think it is a MakeMaker problem, has anyone reported it to them? And are you guys using the latest MakeMaker? I think this might have been fixed in the new beta versions. -dave I just installed

RE: Patch DateTime-0.12 on HPUX Perl 5.8.0

2003-06-03 Thread Hill, Ronald
Hi Dan, * Hill, Ronald [EMAIL PROTECTED] shaped the electrons to say... On Fri, 30 May 2003, Dan Sully wrote: HPUX doesn't have finite() - it has isfinite() instead. Not my HPUX box. I'm running 10.20 and the HP ANSI C compiler I tried the make test and here is a listing

RE: Windows once more

2003-06-03 Thread Hill, Ronald
Hi Dave, On Mon, 2 Jun 2003, Hill, Ronald wrote: I can't even get it to work on HPUX :( Try removing the ifdef _HPUX_SOURCE part entirely. -dave I removed the section you suggested Still no joy :( Ron Hill

RE: Fw: Hijri dates

2003-05-31 Thread Hill, Ronald
Hi Ben, [snipped] This is actually the reason that I wanted to get a Moonrise package working... -ben I tried, I failed, I surrender!! Ron

RE: Bug in DateTime::Span-contains()

2003-05-31 Thread Hill, Ronald
Hi Flavio, It works for me: 2003-05-10T06:13:00 (I had to manually remove the old DT::E:Sunrise installation, don't know why) - Flavio S. Glock [snipped] Great!! At least that tells me the bug in my module is fixed :) Are you using DateTime-Set version 0.07 and DateTime 0.12?

RE: Bug in DateTime::Span-contains()

2003-05-31 Thread Hill, Ronald
Hi Dave, On Fri, 30 May 2003, Hill, Ronald wrote: Great!! At least that tells me the bug in my module is fixed :) Are you using DateTime-Set version 0.07 and DateTime 0.12? (I need to update the pre req's for sunrise) I wish we could get the DateTime.pm to work on windows

RE: Bug in DateTime::Span-contains()

2003-05-31 Thread Hill, Ronald
Hi Dave, On Fri, 30 May 2003, Hill, Ronald wrote: t\04epoch.NOK 25# Failed test (t\04epoch.t at line 96) # got: undef # expected: '-2082844800' The 'day' parameter to DateTime::new was an 'undef', which is not one of the allowed types: sca at t

RE: installing DateTime-TimeZone-0.17 on HPUX 10.20 perl 5.8.0 us ing HP's ANSI C Compiler?

2003-05-31 Thread Hill, Ronald
On Fri, 30 May 2003, Hill, Ronald wrote: Hi All, Has anyone installed DateTime-TimeZone-0.17 on HPUX? make is reporting line to long. $ /app/perl5.8.0/bin/perl Makefile.PL Writing Makefile for DateTime::TimeZone $ make Make: line too long. Stop. This might be fixed

RE: Bundle::DateTime

2003-04-03 Thread Hill, Ronald
Hi Iain, [snipped] * Rick Measham ([EMAIL PROTECTED]) [03 Apr 2003 09:22]: [...] Ages ago I proposed that we might need to distribute Bundle::DateTime and now I'm thinking it again. Either that or we could think about auto-install (which I think DBI does?) It may also be useful

Params::Validate generate warnings on perl version 5.8.0

2003-04-03 Thread Hill, Ronald
Hi Dave, I am seeing warnings when building some Datetime perl modules under 5.8.0. They were not there for version 5.6.1. Can I ignor them? Thanks Ron Hill for perl version 5.8.0 F:\perl_modules\Params-Validate-0.57perl makefile.pl Checking if your kit is complete... Looks good Writing

RE: Params::Validate generate warnings on perl version 5.8.0

2003-04-03 Thread Hill, Ronald
On Thu, 3 Apr 2003, Hill, Ronald wrote: I am seeing warnings when building some Datetime perl modules under 5.8.0. They were not there for version 5.6.1. Can I ignor them? Do the tests pass? Yes, all tests pass :-) I did not think this would be a problem but I thought you would

RE: working on the as_set portion of the sunrise module

2003-03-28 Thread Hill, Ronald
Hill, Ronald wrote: sub daytime_as_spanset { my $self = shift; my $class = ref($self); my $sunrises = $self-sunrise_as_set; my $sunsets = $self-sunset_as_set; return $sunrises-until( $sunsets ); } maybe sunrise_as_spanset? (land

RE: DateTime::Event::Sunrise Beta number 3

2003-03-26 Thread Hill, Ronald
Dave Rolsky wrote: $VERSION = qw($Revision: 0.01 $) [1]; That's not CVS, is it? If it is, please don't use it's revision numbers directly (this is discussed in the dev docs I wrote). No, it is not CVS. This is the way it was in the Astro::Sunrise module I can't remember where

DateTime::Event::Sunrise Beta number 2

2003-03-25 Thread Hill, Ronald
Hi All, I have just completed the beta 2 for the DtaeTime::Event::Sunrise module. Please test and let me know of any problems. I have changed the constructor to use named parameters. I also changed the names to use full names. Thanks for all of the suggestions! Ron Hill Sunrise.pm

DateTime::Event::Sunrise Beta number 3

2003-03-25 Thread Hill, Ronald
Hi All, I have just completed the third beta for the Sunrise module. I have added a set method (no documentation yet)I used the set API from Rick's easter module (Thanks Rick!!)Here is the perl script I used to test: #!/usr/bin/perl use strict; use warnings; use DateTime; use

RE: DateTime::Event::Easter - Beta 2

2003-03-25 Thread Hill, Ronald
Hi Rick, [snipped] The -set method is now -as_list and I've added -as_set which returns a DateTime::Set object (although this isn't tested at ALL! CPAN wouldn't give me DateTime::Set :)) I guess I jumped the gun a bit, I will follow suit and make the changes to the Sunrise module. Does

RE: DateTime::Event::Easter - Beta 2

2003-03-25 Thread Hill, Ronald
Hi Rick, Attached is Beta 2. I think I've incorporated all suggestions. If I've missed anything, let me know. [snipped] The -set method is now -as_list and I've added -as_set which returns a DateTime::Set object (although this isn't tested at ALL! CPAN wouldn't give me

RE: DateTime::Set::Sunrise?

2003-03-21 Thread Hill, Ronald
Hi Rick, While I know that DateTime::Astro::Sunrise has been released, I wonder if it should not have been DateTime::Set::Sunrise? Well, it is up to the group. I released this module as a development release SO, it should not be a problem with changing the name. BTW, before posting this

Announce: DateTime::Astro::Sunrise 0.01_01 released to CPAN

2003-03-20 Thread Hill, Ronald
Hi All, I have just released the DateTime::Astro::Sunrise to CPAN. From the README: This module will return a DateTime Object for sunrise and sunset for a given day. To install this module type the following: perl Makefile.PL make make test make install DEPENDENCIES This module

proposal for DateTime::Astro::Sunrise

2003-03-19 Thread Hill, Ronald
Hi All, I have been working converting my Astro::Sunrise perl module over to use the DateTime API. Does the name DateTime::Astro::Sunrise sound good? I have set the initial version to 0.01_01. Does anyone object to the name or version? Please let me know. Thanks Ron Hill

RE: perl-date-time

2003-02-27 Thread Hill, Ronald
[snipped] About moving perl-date-time to CPAN: The modules will be published by their authors or by the project administrators? I suggest making a Bundle too. This is a great Idea!! make them a bundle!! - Flávio S. Glock -- In a parallel DateTime:

Announce: Astro::Sunrise 0.8

2003-02-27 Thread Hill, Ronald
This is to announce a new version of Astro::Sunrise. This version replaces the dependency on Time::Object to Time::Piece. NAME Astro::Sunrise - Perl extension for computing the sunrise/sunset on a given day SYNOPSIS use Astro::Sunrise; ($sunrise, $sunset) =

Params-Validate-0.52 installation error on Win32

2003-02-19 Thread Hill, Ronald
Hi David, I received an error when installing Params-Validate-0.52 for Win32 systems. Basically, the makefile.PL file needs to be changed (to reconize the c compiler) Here are the changes: if ($^O eq MSWin32) { system(nmake test$Config{obj_ext}) and no_cc(); }else{ system(make

Announce Astro::Sunrise 0.7

2003-02-14 Thread Hill, Ronald
Hi All, This is to announce a new version of Astro::Sunrise. I fixed the issue with the build I added the PREREQ_PM to the Makefile.PL. I also added a new function Iteration. This feature is very alpha!! Thanks Ron Hill NAME Astro::Sunrise - Perl extension for computing the

Is there an archive of this list ?

2001-08-21 Thread Hill, Ronald
Hi All, Is there an archive of this list somewhere? I just joined and would like to catch up! Thanks Ron Hill