Skip to content

Commit

Permalink
hour format updated
Browse files Browse the repository at this point in the history
  • Loading branch information
JavNull committed Feb 12, 2021
1 parent 634a033 commit eb4e770
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blocks/datetime
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

FORMAT="${BLOCK_INSTANCE:-%H:%M}"
FORMAT="${BLOCK_INSTANCE:-%a %d %b %H:%M}"
DATETIME=$(date "+${FORMAT}")

echo "${DATETIME}"
echo "${DATETIME}"
echo ""
echo -e "${DATETIME}"
echo -e "${DATETIME}"
echo ""

0 comments on commit eb4e770

Please sign in to comment.