Utilities for imasimgbot
1
fork

Configure Feed

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

Posttime for calculating nextPostTime

Engielolz 46b6f222 1e447906

+5
+5
posttime.sh
··· 1 + #!/bin/bash 2 + read -rp "postInterval: " postInterval 3 + svcInterval=900 4 + calcDate=$(($(date +%s) + (($postInterval * $svcInterval) - $(date +%s) % ($postInterval * $svcInterval)))) 5 + echo -e "Raw: $calcDate\nNormal: $(date --date="@$calcDate")\nIn JST: $(TZ=Asia/Tokyo date --date="@$calcDate")"