ARI timestamps in Unix format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 16, 2013 at 12:54 AM, Paul Belanger <
paul.belanger at polybeacon.com> wrote:

> On Tue, Oct 15, 2013 at 7:43 PM, Alistair Cunningham
> <acunningham at integrics.com> wrote:
> > Is there any chance we could have an option to use Unix timestamp format
> > (seconds since 1970-01-01 00:00:00 ignoring leap seconds) in the ARI
> events
> > (e.g. creationtime) and (if there are any) the actions?
> >
> Personally I'd like to see them as iso8601, mostly because other
> RESTful APIs in work with use it.  I'd also like to see the default
> timezone be UTC.
>
> > I suspect (correct me if I'm wrong) that Asterisk uses Unix format
> > internally, so for apps that do so too this would save some formatting
> and
> > parsing on each end.
> >
> > I'd be perfectly happy to have this a setting in ari.conf that's
> disabled by
> > default.
> >
> We already do a mix-mash thing with datetime within asterisk, some
> modules implement GMT others don't. I'd vote for picking a standard
> time then having the applications control it.
>
> --
> Paul Belanger | PolyBeacon, Inc.
> Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
> Github: https://github.com/pabelanger | Twitter:
> https://twitter.com/pabelanger
>
> _______________________________________________
> asterisk-app-dev mailing list
> asterisk-app-dev at lists.digium.com
> http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
>


One, I just realised I top posted, sorry!

and +1 to Paul's email
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20131016/38c1d1ce/attachment.html>


[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux