.htaccessに以下を記述してルートに設置
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are n…
以下のサイトを参考に
[ui_picker setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@”GMT”]];
のようにすると日付の誤差はなくなりましたが、時刻の誤差はそのままでした。
http://pukapuka-ahirusan.blogspot.com/2010/11/uidatepicker.html
どうやら、UIDatePickerで取得した日本時間をグリニッジ標準時刻に直して表示しているようなので、−9時間計算になっているような感じがします。この辺をうまいこと調整出来れば、なんとかなりそうなんで、もう少し調べてみます。
この投稿へのコメント
コメントはまだありません。