๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere
35
fork

Configure Feed

Select the types of activity you want to include in your feed.

[#6] bdotsamir:issue/5-macos-commands โž” issue/5-macos-commands

macos date parsing fix pt 2

authored by

Ducky and committed by
GitHub
cc39aa57 4bb6dc81

+2 -2
+2 -2
atfile.sh
··· 145 145 date -u +$format 146 146 else 147 147 if [[ $(atfile.util.get_os) == "macos" ]]; then 148 - date "$date" -u +"$format" 148 + date -u -j -f "$format" "$date" +"$format" 149 149 else 150 150 date --date "$date" -u +"$format" 151 151 fi ··· 1813 1813 unset file_date 1814 1814 1815 1815 if [[ $(atfile.util.get_os) == "macos" ]]; then 1816 - file_date="$(atfile.util.get_date "$(stat -f '%Sm' "$file")")" 1816 + file_date="$(atfile.util.get_date "$(stat -f '%Sm' -t "%Y-%m-%dT%H:%M:%SZ" "$file")")" 1817 1817 else 1818 1818 file_date="$(atfile.util.get_date "$(stat -c '%y' "$file")")" 1819 1819 fi