Based on this post https://learn.bela.io/using-bela/technical-explainers/system-date/, both IDE and build_project.sh can sync the system date from the connected device. However, only IDE works. I tried build_project.sh, but the date is still in 2016. What should I modify? Thanks!
build_project.sh calls ssh_connect_and_set_date from here, which should set the date accordingly unless the date program that runs on your computer gives some sort of error. Try running
build_project.sh
ssh_connect_and_set_date
date
date '+%Y%m%d %T %z
in your terminal and see what it returns
giuliomoro It can return the valid date.
I can use a command to sync the date on the board.