Ngày đó không tuân thủ ISO-8601 như Keith Thompson đã nêu, nhưng là tuân thủ RFC 3339, cấu hình ISO 8601. Sắp xếp. Xem LƯU Ý ở dưới cùng của văn bản sau đây từ RFC 3339:
date-time = full-date "T" full-time
NOTE: Per [ABNF] and ISO8601, the "T" and "Z" characters in this
syntax may alternatively be lower case "t" or "z" respectively.
This date/time format may be used in some environments or contexts
that distinguish between the upper- and lower-case letters 'A'-'Z'
and 'a'-'z' (e.g. XML). Specifications that use this format in
such environments MAY further limit the date/time syntax so that
the letters 'T' and 'Z' used in the date/time syntax must always
be upper case. Applications that generate this format SHOULD use
upper case letters.
NOTE: ISO 8601 defines date and time separated by "T".
Applications using this syntax may choose, for the sake of
readability, to specify a full-date and full-time separated by
(say) a space character.
Nguồn
2015-11-30 19:18:30
Tôi chỉ thấy rằng ngày mới ("2012-03-02T14: 57: 05") trong javascript sẽ điều chỉnh thời gian theo múi giờ, trong khi mới Ngày ("2012-03-02T14: 57: 05") sẽ KHÔNG điều chỉnh thời gian. – code4j
@ code4j: Tôi đã bỏ lỡ điều gì đó hay những thứ giống nhau? –
Ôi trời ơi. Tôi quên xóa chữ T. phải là: ngày mới ("2012-03-02T14: 57: 05"): điều chỉnh thời gian theo múi giờ trong khi ngày mới ("2012-03-02 14:57:05") sẽ KHÔNG điều chỉnh thời gian – code4j