:+1: :+1: :+1:


On Tue, May 27, 2014 at 10:47 AM, codedust <notifications@github.com> wrote:

> In js/views/message.js:
>
> > +      this.$el.find('.message-text').text(this.model.get('body'));
> > +      var attachments = this.model.get('attachments');
> > +      if (attachments) {
> > +        for (var i = 0; i < attachments.length; i++)
> > +          this.$el.find('.message-attachment').append('<img src="' + attachments[i] + '" />');
> > +      }
> > +
> > +      this.$el.find('.metadata').text(this.formatTimestamp());
> > +      return this;
> > +    },
> > +
> > +    remove: function() {
> > +      this.$el.remove();
> > +    },
> > +
> > +    formatTimestamp: function() {
>
> I think we should support other time formats here as well.
> Maybe we should give thought to i18n in general.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/WhisperSystems/TextSecure-Browser/pull/38/files#r13091218>
> .
>