robertkrimen / otto

A JavaScript interpreter in Go (golang)

Home Page:http://godoc.org/github.com/robertkrimen/otto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dates and timezone

elfranne opened this issue · comments

toLocaleString does not support the Intl format, to allow specifying timezone.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat

commented

https://262.ecma-international.org/5.1/#sec-15.9.1.15

It looks like timezones should be supported in the format +03:00, which isn't quite the usual +0300 - can you provide an SSCCE demonstrating your issue?