i used timezone to do offsets and formatting because it's pure js and doesn't 
have any compiled dependencies like node-time.

On Oct 2, 2012, at October 2, 20125:20 PM, Diogo Resende 
<drese...@thinkdigital.pt> wrote:

> Hi,
> 
> I think this is essential to anyone. Some people already faced this problem, 
> some probably never heard of it but it's there.
> 
> I use MomentJS [1] to format and node-time [2] to do find the timezone offset.
> 
> https://gist.github.com/3819961
> 
> It works perfectly (I think...) so I wanted to share with anyone interested. 
> If someone has a better or simpler way of doing this please tell me :)
> 
> 
> [1]: http://momentjs.com/
> [2]: https://github.com/TooTallNate/node-time
> 
> -- 
> Diogo Resende
> 
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to