You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is problematic on MacOS local development since the -d option is specific to GNU date and does not work with MacOS date built-in command, making the test fail.
MacOS users can install GNU date through the coreutils package as described on apple.stackexchange.com in How to have GNU's date in OS X?, but it would be better to remove that dependency.
The code adds or substracts N days to the current date and produces a result in YYYY-MM-DD format.
The text was updated successfully, but these errors were encountered:
scripts/bats/test/libs/partitions.bash
(in the test suite invoked withmake bats-test
) uses code like the following:This is problematic on MacOS local development since the
-d
option is specific to GNU date and does not work with MacOSdate
built-in command, making the test fail.MacOS users can install GNU date through the
coreutils
package as described on apple.stackexchange.com in How to have GNU's date in OS X?, but it would be better to remove that dependency.The code adds or substracts N days to the current date and produces a result in
YYYY-MM-DD
format.The text was updated successfully, but these errors were encountered: