/api/uploaded-file should return createdAt as a POSIX timestamp
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Mar 2017 00:27:01 +0000 (00:27 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Mar 2017 00:27:01 +0000 (00:27 +0000)
commit47c39a04d9a710c9ecd8f9ef04dd4237f5c06633
treee945756a449914a6682f6916adf8d8024fe72bc0
parent0732b28e44deacd4796ca6fabf69996798261e32
/api/uploaded-file should return createdAt as a POSIX timestamp
https://bugs.webkit.org/show_bug.cgi?id=169980

Rubber-stamped by Antti Koivisto.

Call Database::to_js_time on createdAt to return it as a POSIX timestamp.

* public/include/uploaded-file-helpers.php:
(format_uploaded_file): Fixed the bug.
* server-tests/api-manifest-tests.js: Renamed from api-manifest.js.
* server-tests/api-uploaded-file-tests.js: Renamed from api-uploaded-file.js. Added a test case.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/include/uploaded-file-helpers.php
Websites/perf.webkit.org/server-tests/api-manifest-tests.js [moved from Websites/perf.webkit.org/server-tests/api-manifest.js with 100% similarity]
Websites/perf.webkit.org/server-tests/api-uploaded-file-tests.js [moved from Websites/perf.webkit.org/server-tests/api-uploaded-file.js with 94% similarity]