remove newline from get_build_commit_time_string
commit55d1d6ad2c58545ef79bb30baccabf67de122bd4
authorMarshall Roch <mroch@fb.com>
Thu, 17 Mar 2016 09:05:50 +0000 (17 02:05 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Thu, 17 Mar 2016 09:30:46 +0000 (17 02:30 -0700)
tree8608fa974983b72596d2f2f7a77b370364994a7b
parenta297253f6ebbc2cc7cc1e8575271159f8d21edc5
remove newline from get_build_commit_time_string

Summary: `ctime()` is just `strftime(..., "%c\n", ...)`. since we don't want the newline, use `stftime` manually.

Reviewed By: int3

Differential Revision: D3063537

fb-gh-sync-id: 74f9f5c25336e3c483c97afcf3add222867e0d53
shipit-source-id: 74f9f5c25336e3c483c97afcf3add222867e0d53
hphp/hack/src/utils/build_id.ml
hphp/hack/src/utils/get_build_id.c