Skip to content
Snippets Groups Projects
Commit 2f14514a authored by Felix Fietkau's avatar Felix Fietkau
Browse files

add scripts/portable_date: wrapper around date for bsd/linux


date -r $unix_timestamp on bsd is equal to date -d @$unix_timestamp on
linux. To support reproducible builds and not loosing every timestamp
it's required to convert a unix timestamp into human readable timestamp

./scripts/portable_date $unix_timstamp +%T

Signed-off-by: default avatarAlexander Couzens <lynxis@fe80.eu>

SVN-Revision: 48583
parent 7695d614
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment