Created
July 24, 2012 04:45
-
-
Save shun0102/3168088 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data-config.xmlの設定 | |
<field column="ts" name="ts" dateTimeFormat="yyyy-MM-dd hh:mm:ss" locale="ja" /> | |
以下の様な対応で日付が変換される | |
2012-03-02 00:00:00 => 2012-03-02T15:00:00Z | |
2012-03-03 12:00:00 => 2012-03-02T15:00:00Z | |
2012-03-03 00:00:00 => 2012-03-02T15:00:00Z | |
2012-03-03 12:00:01 => 2012-03-02T15:00:01Z | |
2012-03-03 00:46:43 => 2012-03-02T15:46:43Z | |
2012-03-03 00:00:04 => 2012-03-02T15:00:04Z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
って、あれ、1件目の出力結果が違うなぁ。
2012-03-02 00:00:00 => 2012-03-01T15:00:00
2012-03-03 12:00:00 => 2012-03-02T15:00:00
2012-03-03 00:00:00 => 2012-03-02T15:00:00
2012-03-03 12:00:01 => 2012-03-02T15:00:01
2012-03-03 00:46:43 => 2012-03-02T15:46:43
2012-03-03 00:00:04 => 2012-03-02T15:00:04