[Rails] Re: Live Clock and Date on Rails

2008-11-22 Thread Andrius Chamentauskas
For a live clock it doesn't matter if it's PHP/JS or Rails/JS. If you know working example with PHP/JS then it will work with Rails/JS. Live clock is just JS script and the only thing it depends on is browser implementation. Maybe you just have some archaic browser? On Nov 22, 1:52 am, The Neuroc

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread Hassan Schroeder
On Fri, Nov 21, 2008 at 3:31 PM, The Neurochild <[EMAIL PROTECTED]> wrote: > As I said, even though I'm in Venezuela, the timezone in which my > computer is set, I'm still having the problem. (Time zone is -4:30GMT) No, I meant is there a difference between the system clock and the display clock

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread The Neurochild
I was hoping you can show me something. I know a live clock that works with PHP/JS exists. I've seen it. I'll stop right here, it seems there's nothing available here. I give up. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread James Mitchell
You don't seem to understand how this all works together. Your rails code on the server has nothing to do with the javascript that runs in the browser other than what html and javascript that it might generate. There is nothing you can do in Rails that you also can't just hard code in a simple h

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread The Neurochild
On 21 nov, 19:14, "Hassan Schroeder" <[EMAIL PROTECTED]> wrote: > In any case, it works fine on my OS X box and an Ubuntu VM, so I'd > suggest you check the TZ settings on the systems you're seeing a > problem on. As I said, even though I'm in Venezuela, the timezone in which my computer is set,

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread Hassan Schroeder
On Fri, Nov 21, 2008 at 1:58 PM, The Neurochild <[EMAIL PROTECTED]> wrote: > > Sure, why not? > // Browser detect code >var ie4=document.all >var ns4=document.layers >var ns6=document.getElementById&&!document.all Wow, that's just scary old :-) In any case, it works fine

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread The Neurochild
Sure, why not? /// // "Live Clock Advanced" script - Version 1.0 // By Mark Plachetta ([EMAIL PROTECTED]) // // Get the latest version at: // http://www.zip.com.au/~astroboy/liveclock/ // // Based on the original script: "Upper Corner Live C

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread Hassan Schroeder
On Fri, Nov 21, 2008 at 1:33 PM, The Neurochild <[EMAIL PROTECTED]> wrote: > Yes, I double checked it and Linux shows today's date but when the > Rails app is running with the JS live clock in Linux, it shows > tomorrow's. > > I'm using Debian 4, and it also happens in Ubuntu. Word. Can you post

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread The Neurochild
On Nov 22, 4:27 pm, "James Mitchell" <[EMAIL PROTECTED]> wrote: > Seriously though ... maybe you loaded the page from a linux box that > had the date wrong. Can you verify? Yes, I double checked it and Linux shows today's date but when the Rails app is running with the JS live clock in Linux,

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread James Mitchell
Are you saying that everyone who looks at your app from a linux machine sees the date as tomorrow? What about people with Macs? I heard that Macs show the date as next week. People with Macs are always ahead of curve :) Seriously though ... maybe you loaded the page from a linux box that had