time-fetcher

仓库创建 2025年10月31日最近提交 3 小时前SkillHot 收录 20 天前
▸ 精选理由

极简实用的时区时间命令,方便脚本和自动化流程调用。

这个 Skill 做什么

提供在 bash 中获取迪拜当地时间的命令与格式说明。

给出在 bash 里获取迪拜当地时间的标准命令(例如 TZ='Asia/Dubai' date '+%Y-%m-%d %H:%M:%S %Z'),并说明输出应为 YYYY-MM-DD HH:MM:SS +04 的格式。常用于脚本、日志或定时任务中需要精确迪拜时间戳的场景。特别标注时区为 Asia/Dubai(GST),全年 UTC+4,不使用夏令时。

▸ 展开 SKILL.md 英文原文

Instructions for fetching current Dubai time via bash command

自动化集成时区命令行时间通用
6.4w
Stars
6.3k
Forks
9
仓库内 Skill
+1.4k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/agent-teams/.claude/skills/time-fetcher/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/main/agent-teams/.claude/skills/time-fetcher/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
## Dubai Time Fetcher

### Command

```bash
TZ='Asia/Dubai' date '+%Y-%m-%d %H:%M:%S %Z'
```

### Expected Output Format

`YYYY-MM-DD HH:MM:SS +04` (Gulf Standard Time)

### Timezone Details

- Timezone: Asia/Dubai
- Offset: UTC+4
- Abbreviation: GST (Gulf Standard Time)
- Dubai does not observe daylight saving time

### Return Format

Provide the following fields:
- `time`: Just the time portion (HH:MM:SS)
- `timezone`: "GST (UTC+4)"
- `formatted`: The full output string from the command
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有