Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
PHP: declare SOURCE_DATE_EPOCH as an integer, as expected in strict mode.
· 9db54384
David Prévot
authored
Mar 18, 2019
9db54384
Merge branch 'patch-1' of salsa.debian.org:taffit/reproducible-website
· 78e852cb
Mattia Rizzolo
authored
Mar 18, 2019
MR:
!27
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
78e852cb
Show whitespace changes
Inline
Side-by-side
_docs/source-date-epoch.md
View file @
78e852cb
...
...
@@ -247,7 +247,7 @@ SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
### PHP
```
date('Y', getenv('SOURCE_DATE_EPOCH') ?: time())
\
date('Y',
(int)\
getenv('SOURCE_DATE_EPOCH') ?:
\
time())
```
### Emacs-Lisp
...
...