MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / toDisplayDate

Function toDisplayDate

main.js:2170–2180  ·  view source on GitHub ↗
(seconds)

Source from the content-addressed store, hash-verified

2168}
2169
2170function toDisplayDate (seconds) {
2171 return new Date(seconds * 1000).toLocaleString('en-GB', {
2172 day: 'numeric',
2173 month: 'numeric',
2174 year: 'numeric',
2175 hour: 'numeric',
2176 minute: '2-digit',
2177 timeZoneName: 'short',
2178 timeZone: 'UTC'
2179 });
2180}
2181
2182function toDisplayPullRequestList (build, isGitHubRelease) {
2183 const remoteUrl = build.remoteUrl || (build.git ? build.git.remoteUrl : '');

Callers 3

getBuildCaptionFunction · 0.85
processPrivateCommandFunction · 0.85
getChecksumMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected