diff --git a/contributed/Format UNIX timestamp.spBundle/command.plist b/contributed/Format UNIX timestamp.spBundle/command.plist new file mode 100644 index 0000000..c640a2d --- /dev/null +++ b/contributed/Format UNIX timestamp.spBundle/command.plist @@ -0,0 +1,46 @@ + + + + + author + Niklas Brunberg + category + + command + #!/usr/bin/php +<?php + +// Suppress DateTime warnings because UNIX timestamps does not contain any +// timezone information, therefore it would be best to assume some default. +date_default_timezone_set(@date_default_timezone_get()); + +print date(DATE_ISO8601, fgets(STDIN)); + contact + niklas@lynks.se + description + Format the selected UNIX timestamp as ISO 8601 + input + entirecontent + internalKeyEquivalent + + characters + U + keyCode + 32 + modifierFlags + 1179648 + + keyEquivalent + $@U + name + UNIX Timestamper + output + showastexttooltip + scope + inputfield + trigger + none + uuid + 11ECB60F-6751-4390-B7D5-D9B7CB6FC81A + +