|
||||||
|
|
#1 |
|
Moderator
|
Lighting Bug
http://www.reefland.com/myaqlog/main...ction=lighting
Notice the date the next change is due on my metal halides? It went BACK to 2002. But the change date on the VHO looks correct. |
|
|
|
| Sponsored Links |
|
|
|
|
#2 |
|
Owner
Join Date: Feb 2000
Location: Bardstown, KY
Posts: 12,999
|
Mike,
See what the dates show now and let me know if they are correct. Also could you tell me what you set as the change incriment (how many months) for both VHO and MH? Thanks, Scott Z. |
|
|
|
|
|
#3 |
|
Moderator
|
They are close...
I put 12 months on the Metal Halide and 24 months on the VHO... I use that just for color. So my change dates should be 02-01-2005 and 06-01-2006... I think those are the I put in... |
|
|
|
|
|
#4 |
|
Owner
Join Date: Feb 2000
Location: Bardstown, KY
Posts: 12,999
|
And what do your change dates so (the day for the next change)?
Right now, the calculation is done as follows: 60secs * 60mins * 24hrs * 30days * number of months selected. I might have to rewrite that function to be more precise. Scott Z. |
|
|
|
|
|
#5 | |
|
Moderator
|
wouldn't months, days, hours, be enough? Since the drop down options start with months, seems that would be okay.
Quote:
On the price issue, yes I did incluse the dollar sign. I just went into livestock and was able to edit the entry, but the price of the fish still shows zero... Last edited by Poseidon; 04-12-2004 at 08:58 AM. |
|
|
|
|
|
|
#6 |
|
Owner
Join Date: Feb 2000
Location: Bardstown, KY
Posts: 12,999
|
Mike,
I think the problem you are having with the dollar amount is with the dollar sign. Do not include it and see what happens. For example: 15.00 I was just asking what the dates actually show for the next change for your MH and VHO bulbs. I think the problem there is you had entered the date as 01-01-01 (not the exact date, just the format) and I have it developed for 01/01/2001 so I think I might need to add some additional functionality there for multiple formats. Scott Z. |
|
|
|
|
|
#7 |
|
Moderator
|
Yup the ($) was the problem, I enter the price with-out the sign and it works fine....
As far as the dates go, YES you are correct I did use 00-00-00 instead of 00/00/00... I think dual format would be a good idea there. |
|
|
|
|
|
#8 |
|
Owner
Join Date: Feb 2000
Location: Bardstown, KY
Posts: 12,999
|
Ok thanks. Perhaps adding a dollar sign in front of the text box will alleviate that problem or I can also strip it from the data before submitted to the db.
As for the dates, I will change it to accept both formats so until then, I am going to leave this bug open. Scott Z. |
|
|
|
|
|
#9 |
|
Owner
Join Date: Feb 2000
Location: Bardstown, KY
Posts: 12,999
|
$ sign is now stripped from the data input so that piece is fixed. Still leaving open until I fix the date function to work from multiple formats.
Scott Z. |
|
|
|
|
|
#10 | |
|
Join Date: Mar 2004
Location: MI USA
Posts: 106
|
Quote:
Steve |
|
|
|
|
|
|
#11 |
|
Owner
Join Date: Feb 2000
Location: Bardstown, KY
Posts: 12,999
|
Thanks Steve!
I think the key here will be to accept any date format: m/d/yy mm/dd/yyyy mm/dd/yy m-d-yy mm-dd-yy mm-dd-yyy That way any of the inputed methods will be accepted versus a script that errors out and ask the user to correct it to only one of the formats. Thoughts? Scott Z. |
|
|
|
|
|
#12 |
|
Moderator
|
I think you have it.... Except for those that use dd-mm-yy that live across the pond!!!
Maybe have a drop down to tell the board what format to expect the dates to be input? Is that even possible? |
|
|
|
|
|
#13 |
|
Owner
Join Date: Feb 2000
Location: Bardstown, KY
Posts: 12,999
|
Yeah that's a possibility too. I never considered that but maybe a drop down for day, month and year would be the best choice.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Acro lighting! | Pomme | Reef Aquariums | 13 | 01-14-2004 09:20 AM |
| Are we headed for a crash or is it lighting? | dougchambers | Reef Aquariums | 4 | 04-02-2003 12:28 PM |
| 58g RR lighting ?'s | fletch | Lighting | 13 | 10-07-2002 11:25 PM |
| Lighting Colors | CaptainK | Lighting | 2 | 07-22-2001 03:03 AM |
| Lighting Recommendations for 72-gal FOWLR / Possible Future Reef Tank | Tarek | Lighting | 10 | 06-28-2001 12:12 PM |