{"id":20540709,"url":"https://github.com/ysdexlic/ng-age","last_synced_at":"2026-06-23T13:31:56.285Z","repository":{"id":58230395,"uuid":"69735462","full_name":"ysdexlic/ng-age","owner":"ysdexlic","description":"an Angular filter to dynamically display a person's age based on their birthday","archived":false,"fork":false,"pushed_at":"2018-09-05T14:51:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-17T16:54:14.280Z","etag":null,"topics":["angular","angular-component","angular1-x","bower","bower-package","package"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ysdexlic.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}},"created_at":"2016-10-01T11:39:45.000Z","updated_at":"2021-03-15T17:17:17.000Z","dependencies_parsed_at":"2022-08-31T09:22:41.187Z","dependency_job_id":null,"html_url":"https://github.com/ysdexlic/ng-age","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ysdexlic/ng-age","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdexlic%2Fng-age","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdexlic%2Fng-age/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdexlic%2Fng-age/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdexlic%2Fng-age/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysdexlic","download_url":"https://codeload.github.com/ysdexlic/ng-age/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdexlic%2Fng-age/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34691731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","angular-component","angular1-x","bower","bower-package","package"],"created_at":"2024-11-16T01:17:13.257Z","updated_at":"2026-06-23T13:31:56.261Z","avatar_url":"https://github.com/ysdexlic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ng-age\n---------\nA filter for Angularjs to dynamically display a person's age based on their birthday\n\nCheck out the [Demo](http://thebeardydeveloper.com/ng-age).\n\nInstall\n-------\n\n    $ bower install ng-age\n    \nDependencies\n------------\nJust [AngularJS](https://github.com/angular/angular.js).\n\n## How to use ng-age\n\n\n### Include the file in your index.html:\n``` html\n\u003cscript src=\"./bower_components/ng-age/ng-age.js\"\u003e\u003c/script\u003e\n```\n\n### Inject the `ng-age` filter into your app module:\n\n```javascript\nangular.module('myApp', ['ng-age']);\n```\n\n### When outputting your age, apply the filter to your birthday:\n``` html\n \u003cp\u003e {{ 'dd/mm/yyyy' | age }} \u003c/p\u003e \n or \n \u003cp\u003e {{ 'dd/mm/yy' | age }} \u003c/p\u003e\n```\n\nYou are also able to input a single digit for both day and month.\n\nWith years you will have to enter two digits at least. Any year from '00' - '09' will be considered as '2000' - '2009', however, any other two digit year will be considered as in the 1900s, e.g. entering '05/11/82' will be taken as the fifth of november 1982.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysdexlic%2Fng-age","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysdexlic%2Fng-age","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysdexlic%2Fng-age/lists"}