{"id":18784184,"url":"https://github.com/kdevelopement/formattime-ci3","last_synced_at":"2025-12-20T23:30:18.346Z","repository":{"id":139575229,"uuid":"158986651","full_name":"KDevelopement/FormatTime-CI3","owner":"KDevelopement","description":"Formatação De time()...","archived":false,"fork":false,"pushed_at":"2018-11-25T01:38:58.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T11:51:46.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/KDevelopement.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}},"created_at":"2018-11-25T01:04:31.000Z","updated_at":"2023-12-10T22:43:28.000Z","dependencies_parsed_at":"2023-12-09T10:45:10.963Z","dependency_job_id":null,"html_url":"https://github.com/KDevelopement/FormatTime-CI3","commit_stats":null,"previous_names":["klicense/formattime-ci3","kdevelopement/formattime-ci3"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDevelopement%2FFormatTime-CI3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDevelopement%2FFormatTime-CI3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDevelopement%2FFormatTime-CI3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDevelopement%2FFormatTime-CI3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KDevelopement","download_url":"https://codeload.github.com/KDevelopement/FormatTime-CI3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699583,"owners_count":19682575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T20:42:14.012Z","updated_at":"2025-12-20T23:30:18.066Z","avatar_url":"https://github.com/KDevelopement.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sobre O Helpers:\nO Helper server para você formata o ***time();*** em time passado...\n\n***Exemplo:*** Time hoje (24/11/2018 - 22:12 GMT-3) é ***1543108376*** ficará **\"Agora mesmo...\"** e se passa minutos, horas, dias e etc... \u003cbr /\u003e\nficara: ***1 hora atrás*** (exemplo).\n\n# Como ativar?\nVocè pode esta ativando a toda aplicação no arquivo ***autoload.php***, que se encontrar na pasta ***seucodeigniter/application/config/autoload.php*** \u003cbr /\u003e\nProcurar por ***$autoload[\"helper\"]***, e acrescente ***'formattime'*** no mesmo, como no print abaixo: \u003cbr /\u003e\n\u003cimg style=\"border:2px solid red;\" src=\"https://i.imgur.com/C9X0jIe.png\" /\u003e\u003cbr /\u003e\nou acrescente no seu codigo PHP: ***$this-\u003eload-\u003ehelper('formattime');*** (Obs.: so está ativando para a função atual).\n\n# Como usar?\nUse FormatTime(); nas string.\n\n***Exemplo - Pratico:*** \u003cbr /\u003e\nVocê receberá do seu banco de dados o time(); - (por exemplo: 1543108376); \u003cbr /\u003e\n$string_que_recebe = '1543108376'; \u003cbr /\u003e\n$string_formatado = FormatTime($string_que_recebe); \u003cbr /\u003e\n***Resultado: Vai mostra conforme quanto tempo depois você (ou vistantes) vai visualizar seu conteudo.*** \u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdevelopement%2Fformattime-ci3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdevelopement%2Fformattime-ci3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdevelopement%2Fformattime-ci3/lists"}