[rabbitmq-discuss] (Very) Low priority: Wrong date on Management Web Interface

Chris Hampson Chris.Hampson at arm.com
Tue May 3 17:34:38 BST 2011


Aha, yes.

In the fmt_date function in (mgmt/js/formatters.js) it calls:

d.getDay on the date object... which returns a (probably zero-indexed) day part of the JS date object.

I can sleep easier tonight now ;-)

Thanks Simon

> -----Original Message-----
> From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-
> discuss-bounces at lists.rabbitmq.com] On Behalf Of Simon MacMullen
> Sent: 03 May 2011 17:16
> To: rabbitmq-discuss at lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] (Very) Low priority: Wrong date on
> Management Web Interface
>
> On 03/05/11 17:11, Chris Hampson wrote:
> > Hi Guys,
> >
> > A VERY low priority one here, but also pretty odd.
> >
> > The date as reported on our management web interface for our RabbitMQ
> server is wrong:
> >
> > Last update: 2011-05-02 17:07:20
> >
> > Yet the system date seems fine...
>
> <snip server transcript>
>
> That's the date as seen by the web browser; not the server (since it
> may
> end up saying something like "could not connect at xxx").
>
> Cheers, Simon
>
> --
> Simon MacMullen
> Staff Engineer, RabbitMQ
> SpringSource, a division of VMware
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.



More information about the rabbitmq-discuss mailing list