We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
別のブランチで作業してるのでとりあえずパッチだけペタリ。
diff --git a/webapp/php/html/index.php b/webapp/php/html/index.php index 2a45ae1..bd7522b 100644 --- a/webapp/php/html/index.php +++ b/webapp/php/html/index.php @@ -47,7 +47,7 @@ function typeCastPointData($data) { ]; } -const ISO8601MICROSENDS = "Y-m-d\TH:i:s.uO"; +const RFC3339MICROSENDS = "Y-m-d\TH:i:s.uP"; function typeCastStrokeData($data) { return [ @@ -59,7 +59,7 @@ function typeCastStrokeData($data) { 'blue' => (int)$data['blue'], 'alpha' => (float)$data['alpha'], 'points' => isset($data['points']) ? array_map('typeCastPointData', $data['points']) : [], - 'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(ISO8601MICROSENDS) : '', + 'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(RFC3339MICROSENDS) : '', ]; } @@ -69,7 +69,7 @@ function typeCastRoomData($data) { 'name' => $data['name'], 'canvas_width' => (int)$data['canvas_width'], 'canvas_height' => (int)$data['canvas_height'], - 'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(ISO8601MICROSENDS) : '', + 'created_at' => isset($data['created_at']) ? date_create($data['created_at'])->format(RFC3339MICROSENDS) : '', 'strokes' => isset($data['strokes']) ? array_map('typeCastStrokeData', $data['strokes']) : [], 'stroke_count' => (int)$data['stroke_count'], 'watcher_count' => (int)$data['watcher_count'],
The text was updated successfully, but these errors were encountered:
Go実装はこちらになっているんですね
Sorry, something went wrong.
362a8ce
No branches or pull requests
別のブランチで作業してるのでとりあえずパッチだけペタリ。
The text was updated successfully, but these errors were encountered: