{"id":22407828,"url":"https://github.com/fahdi/datecoder","last_synced_at":"2026-02-21T12:01:26.788Z","repository":{"id":11890421,"uuid":"14452609","full_name":"fahdi/datecoder","owner":"fahdi","description":"The code for [DateCoder ](https://www.fahdmurtaza.com/datecoder)","archived":false,"fork":false,"pushed_at":"2025-08-27T16:13:28.000Z","size":487,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-27T22:19:53.758Z","etag":null,"topics":["date","daterangepicker","dates","datetime","timer"],"latest_commit_sha":null,"homepage":"https://www.fahdmurtaza.com/datecoder","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fahdi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-11-16T18:47:15.000Z","updated_at":"2025-08-27T16:13:32.000Z","dependencies_parsed_at":"2024-12-05T11:15:35.698Z","dependency_job_id":"96fcee52-3a32-4d7f-925d-d13560293460","html_url":"https://github.com/fahdi/datecoder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fahdi/datecoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahdi%2Fdatecoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahdi%2Fdatecoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahdi%2Fdatecoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahdi%2Fdatecoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahdi","download_url":"https://codeload.github.com/fahdi/datecoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahdi%2Fdatecoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29680147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["date","daterangepicker","dates","datetime","timer"],"created_at":"2024-12-05T11:15:32.778Z","updated_at":"2026-02-21T12:01:26.778Z","avatar_url":"https://github.com/fahdi.png","language":"HTML","readme":"# DateCoder\n\nA free online tool for building PHP, Python, and JavaScript date format strings with real-time preview and 50+ country formats.\n\n🌐 **Live Demo**: [https://fahdmurtaza.com/datecoder](https://fahdmurtaza.com/datecoder)\n\n## Features\n\n- **Multi-Language Support**: Build date formats for PHP `date()`, Python `strftime()`, and JavaScript\n- **Interactive Format Builder**: Drag-and-drop interface for custom date formats\n- **Country Formats**: 50+ pre-configured date formats used by different countries\n- **Real-Time Preview**: See your formatted date output instantly\n- **Search \u0026 Filter**: Quickly find country-specific formats\n- **Language Switching**: Toggle between PHP, Python, and JavaScript examples\n\n## Supported Languages\n\n| Language | Function/Method | Example Format | Output |\n|----------|----------------|----------------|--------|\n| **PHP** | `date()` | `Y-m-d H:i:s` | 2025-03-01 13:45:30 |\n| **Python** | `strftime()` | `%Y-%m-%d %H:%M:%S` | 2025-03-01 13:45:30 |\n| **JavaScript** | Custom patterns | `YYYY-MM-DD HH:mm:ss` | 2025-03-01 13:45:30 |\n\n## Quick Start\n\n1. Visit [fahdmurtaza.com/datecoder](https://fahdmurtaza.com/datecoder)\n2. Choose your programming language (PHP/Python/JavaScript)\n3. Either:\n   - Use the **Custom Format** tab to build your own format\n   - Browse the **Country Formats** tab for pre-made formats\n4. Copy the generated format string into your code\n\n## Development\n\n### Setup\n```bash\n# Set up environment\n./setup_env.sh\n```\n\n### Deployment\n```bash\n# Deploy to production\npython deploy.py\n```\n\n## File Structure\n```\ndatecoder/\n├── index.html          # Main application\n├── favicon.ico         # Site favicon  \n├── img/               # Assets\n├── deploy.py          # Deployment script\n├── requirements.txt   # Python dependencies\n└── setup_env.sh       # Environment setup\n```\n\n## Technology Stack\n- **Frontend**: HTML5, CSS3, Vanilla JavaScript\n- **Deployment**: Python (paramiko for SFTP)\n- **Hosting**: Static HTML deployment\n\n## Contributing\n\nThis is a single-page application built with vanilla JavaScript. The main application logic is contained in `index.html` with embedded CSS and JavaScript.\n\n## License\n\nMIT License - feel free to use and modify for your projects.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahdi%2Fdatecoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahdi%2Fdatecoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahdi%2Fdatecoder/lists"}