How to make time in W3C format, including hours, minutes, seconds and time zone offset.
Example:
1997-07-16T19:20:30+01:00
Update 1
I have the following declaration in config / locales / my_locale.yml:
time: formats: w3c: %Y-%m-%dT%H:%M
The only missing part is shifted, for example, "+01: 00". What is this interpolation symbol?
I found this link that contains the time zone name interpolated with% Z.
But where is the bias ?
source share