New rat age calculator with birthday calendar
|
|
Thread rating:  |
Tale - 20 Oct 2007 08:02 GMT Hi,
Because the ratty age calculator (which calculates the age of your rat in "human years") is the most popular page at my website, a while ago I decided to update it. It's more or less ready now, and the new features include:
* You can now save all your rats for later use, so you don't have to enter (and remember...) their birthdates each time you visit the webpage. * You can view and/or print a yearly calendar with the "human birthdates" of all your rats.
Have fun!
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
Tale - 20 Oct 2007 08:09 GMT Oops, forgot the URL: http://www.taletn.com/rats/age/
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
Mandie @k@ Zepherous - 20 Oct 2007 16:06 GMT > Oops, forgot the URL: > http://www.taletn.com/rats/age/ > > - Tale Thanks Tale, Wow, Art and Tar are 83 years old.
Tale - 20 Oct 2007 20:29 GMT > Thanks Tale, > Wow, Art and Tar are 83 years old.
:-) 83? That's quite an age already! They must be living a good life.
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
jennjenn84 - 21 Oct 2007 07:10 GMT Well, after some guessing, I think I got pretty close on their birthdays, and according to this Scoot is 17 and Scat is 15. No wonder they cause so many problems, they are teenagers!
Joanne - 21 Oct 2007 23:18 GMT > Well, after some guessing, I think I got pretty close on their birthdays, and > according to this Scoot is 17 and Scat is 15. No wonder they cause so many > problems, they are teenagers! LOL!!
 Signature Joanne The Rat Shack www.jorats.com
Rosemary - 20 Oct 2007 16:55 GMT "Tale" wrote:
> Hi, > [quoted text clipped - 9 lines] > > Have fun! That really confused me until I realised the date format was mm/dd/yyyy - I clicked on the field before I had time to read that bit, and was getting problem responses :-) Very cool though. My rats are 13, apparently. You mean they're gonna get bigger?!
Rosemary
Tale - 20 Oct 2007 20:28 GMT > That really confused me until I realised the date format was mm/dd/yyyy - > I > clicked on the field before I had time to read that bit, and was getting > problem responses :-) Very cool though. My rats are 13, apparently. You > mean they're gonna get bigger?! Well, the format is dd-mm-yyyy for The Netherlands (Dutch language), and mm/dd/yyyy (US English) for the rest of the world. If I can somehow detect what country you're in (I assume UK?), then perhaps I could automatically change the format into dd/mm/yyyy.
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
jennjenn84 - 20 Oct 2007 23:10 GMT The idea of this is really cool, but if you dont know when they were born, then it doesnt help. I dont have any idea on when their birthday is, so I couldnt figure it out. I wish I could figure out how old they are though, even in rat years.
Dewi - 21 Oct 2007 00:04 GMT > > That really confused me until I realised the date format was mm/dd/yyyy - > > I [quoted text clipped - 11 lines] > -- > "Oh, Rats!"http://www.taletn.com/rats/ Australia uses the dd/mm/yyyy format too. I had the same problem in that I put the day in first rather than the month.
But my oldest rat is about 86yo. He's going pretty well considering! Better than most 86yo's.
Dewi
Rosemary - 21 Oct 2007 00:46 GMT "Tale" wrote:
>> That really confused me until I realised the date format was >> mm/dd/yyyy - I [quoted text clipped - 6 lines] > somehow detect what country you're in (I assume UK?), then perhaps I > could automatically change the format into dd/mm/yyyy. Ah right, I see. I'm not quite sure why in US English it goes MM/DD/YYYY - it seems kind of strange having it that way around! I'm in the UK, as you guessed. It's not a problem, though - I think most people outside the USA are used to adjusting things to an American format, whereas I suppose some USAians might be a bit flummoxed by a DD/MM/YYYY format.
I have no idea how you tell where a site visitor is coming from - it sounds really difficult!
By the way, my brother works in Groningen, so my parents go over to the Netherlands quite a bit, though I haven't been to see him yet. I'm guessing the landscape might be a bit similar to where my parents live in Lincolnshire - that's drained land, which as far as I can remember was done by Dutch people, and the area my parents live in is called Holland, though it's no longer an official name and is not used for any administrative purposes.
Rosemary
Tale - 21 Oct 2007 12:03 GMT > I have no idea how you tell where a site visitor is coming from - it > sounds really difficult! I can't really tell were you're from, but I can tell what language your internet software uses. I hope I can distuinguish between en-US (USA), en-GB (UK) and en-AU (Australia) this way, but I'm not sure I can. Perhaps I could better add a date picker, which lets you pick a date out of a calendar using the mouse. That way there will be less confusion.
BTW, thanks for letting me know about this, so I can fix things, and hopefully improve the age calculator some more. :-)
> By the way, my brother works in Groningen, so my parents go over to the > Netherlands quite a bit, though I haven't been to see him yet. I'm [quoted text clipped - 3 lines] > though it's no longer an official name and is not used for any > administrative purposes. Yeah, we're good at draining land. I live below sea level myself, truely in the NETHERlands or LOWands of Holland. ;-) However, I believe Groningen is (mostly?) above sea level, but not much I guess.
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
Rosemary - 21 Oct 2007 12:37 GMT "Tale" wrote:
>> I have no idea how you tell where a site visitor is coming from - it >> sounds really difficult! [quoted text clipped - 3 lines] > (USA), en-GB (UK) and en-AU (Australia) this way, but I'm not sure I > can. Oh, I see. That's clever, that. :-)
> Perhaps I could better add a date picker, which lets you pick a > date out of a calendar using the mouse. That way there will be less > confusion. > > BTW, thanks for letting me know about this, so I can fix things, and > hopefully improve the age calculator some more. :-) I didn't mean it was broken, really - I was just having a laugh at my own dimness!
>> By the way, my brother works in Groningen, so my parents go over to >> the Netherlands quite a bit, though I haven't been to see him yet. [quoted text clipped - 7 lines] > truely in the NETHERlands or LOWands of Holland. ;-) However, I > believe Groningen is (mostly?) above sea level, but not much I guess. Yeah, Groningen's up in the north near Germany, isn't it? I don't know why in English we tend to call the Netherlands "Holland". I know that some Dutch people I've met get a bit irritated by it; besides which, it causes a bit of confusion when I go to visit my parents (the locals aren't that bright).
Rosemary
Michael Rozdoba - 21 Oct 2007 03:27 GMT > Well, the format is dd-mm-yyyy for The Netherlands (Dutch language), and > mm/dd/yyyy (US English) for the rest of the world. If I can somehow detect > what country you're in (I assume UK?), then perhaps I could automatically > change the format into dd/mm/yyyy. What language/s can you use to try to figure this out? Here are a few ideas using javascript: http://www.codingforums.com/showthread.php?t=28578
Nothing will be foolproof, so I'd be inclined to use a guess just as the initial choice, let the user change the date format & remember that with a cookie.
If you want to use ip to guess country, there are databases mapping ip to location, but I think they're all/mostly subscription based. Probably easier to use some aspect of the programming language which lets you format dates according to the client's configured locale.
Tale - 21 Oct 2007 12:13 GMT > What language/s can you use to try to figure this out? Here are a few > ideas using javascript: http://www.codingforums.com/showthread.php?t=28578 The age calculator is indeed 100% JavaScript. So thanks for the link, I'll check it out in a minute.
> Nothing will be foolproof, so I'd be inclined to use a guess just as the > initial choice, let the user change the date format & remember that with a > cookie. I think it would perhaps be better to add a date picker... And/or a text representation of the date the user has entered... I don't know yet. Thanks for your suggestions BTW, it's much appreciated. :-)
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
Joanne - 21 Oct 2007 01:13 GMT > Hi, > [quoted text clipped - 10 lines] > > - Tale Very nice! I just put in my Loki... she is 104 human years!
 Signature Joanne The Rat Shack www.jorats.com
Dewi - 21 Oct 2007 05:45 GMT > Very nice! > I just put in my Loki... she is 104 human years! > > -- > Joanne > The Rat Shackwww.jorats.com Ahh... she's still a spring chicken. :)
Tracey - 21 Oct 2007 10:50 GMT >> Hi, >> [quoted text clipped - 14 lines] > Very nice! > I just put in my Loki... she is 104 human years! Where does time go to, lol - it doesn't seem two minutes since you were welcoming young Loki and the other girls into your home!
Tracey
Tale - 21 Oct 2007 11:20 GMT > Very nice! > I just put in my Loki... she is 104 human years! 104?! That truely is a great age. :-)
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
Tale - 21 Oct 2007 16:01 GMT To add to the confusion with the date format (dd/mm/yyyy or mm/dd/yyyy), I've now changed things a bit. ;-)
The mm/dd/yyyy format is now only used if your internet software is English *and* your time zone in inside the US. Else the dd/mm/yyyy format is used, which will probably make more sense to most of us outside Northern America.
My thanks goes out to Michael Rozdoba, who provided me with the link that suggested to use the time zone to select a date format. :-)
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
Rosemary - 21 Oct 2007 17:15 GMT "Tale" <tale@martinic.nl.earth> wrote:
> To add to the confusion with the date format (dd/mm/yyyy or > mm/dd/yyyy), I've now changed things a bit. ;-) [quoted text clipped - 6 lines] > My thanks goes out to Michael Rozdoba, who provided me with the link > that suggested to use the time zone to select a date format. :-) Clever! :-)
Rosemary
Michael Rozdoba - 22 Oct 2007 00:00 GMT > To add to the confusion with the date format (dd/mm/yyyy or mm/dd/yyyy), > I've now changed things a bit. ;-) [quoted text clipped - 5 lines] > My thanks goes out to Michael Rozdoba, who provided me with the link that > suggested to use the time zone to select a date format. :-) Glad it helped, though I'm sure if I posted about this on comp.infosystems.www.authoring.html I'd get hammered with fifty reasons why it's not safe to make those assumptions (after also being told it was the wrong group to post to) ;)
Incidentally, though I've not read that group in over a year, it certainly used to be home to quite a few very knowledgeable & experienced experts concerned with accessibility & standards compliance. Very useful, as long as one has already made a significant & thoughtful effort to solve the problem one is looking for help with & one can accept criticism albeit mostly constructive & highly useful.
As an aside, I probably would have posted there if this was my problem, as although they're concerned with static html, a general solution to your problem doesn't depend on any one specific language & is concerned with design & hci issues which they (used to at least) know a lot about. A suitably worded post mentioning those points probably wouldn't get stomped upon.
You've reminded me I've been meaning to create a website for us - for about the last three years... um, still got no round tuits. Actually, back when I planned it, it was going to be a rat guide to looking after humans, only before I got started we lost some of our key developers & I lost heart as I had their pics all ready to include in the credits section, including which ratty had done what. Still don't think I could face that. Maybe I should find a new idea.
Tale - 22 Oct 2007 08:20 GMT > Glad it helped, though I'm sure if I posted about this on > comp.infosystems.www.authoring.html I'd get hammered with fifty reasons > why it's not safe to make those assumptions (after also being told it was > the wrong group to post to) ;) When my father was in Madeiro, his webmail interface was suddenly in Portugese instead of Dutch. So you're right, don't make assumptions. In the (near) future I will probably add a settings button, so you can choose your language and date format. But for now this will do.
> You've reminded me I've been meaning to create a website for us - for > about the last three years... um, still got no round tuits. Actually, back [quoted text clipped - 3 lines] > including which ratty had done what. Still don't think I could face that. > Maybe I should find a new idea. That sounds promising. A shame that it didn't work out all the way.
- Tale
 Signature "Oh, Rats!" http://www.taletn.com/rats/
|
|
|