{"id":17115749,"url":"https://github.com/pathikrit/stamp","last_synced_at":"2025-03-24T00:42:38.940Z","repository":{"id":27696905,"uuid":"31183621","full_name":"pathikrit/stamp","owner":"pathikrit","description":"Scala library to format dates and times based on human-friendly examples","archived":false,"fork":false,"pushed_at":"2015-03-09T05:44:07.000Z","size":161,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T07:20:23.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","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/pathikrit.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":"2015-02-22T22:22:25.000Z","updated_at":"2021-04-16T07:43:47.000Z","dependencies_parsed_at":"2022-09-03T03:35:34.738Z","dependency_job_id":null,"html_url":"https://github.com/pathikrit/stamp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathikrit%2Fstamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathikrit%2Fstamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathikrit%2Fstamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pathikrit%2Fstamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pathikrit","download_url":"https://codeload.github.com/pathikrit/stamp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245191601,"owners_count":20575247,"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-10-14T17:46:23.104Z","updated_at":"2025-03-24T00:42:38.913Z","avatar_url":"https://github.com/pathikrit.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"stamp [![Circle CI](https://img.shields.io/circleci/project/pathikrit/stamp.svg)](https://circleci.com/gh/pathikrit/stamp) [![Download](https://api.bintray.com/packages/pathikrit/maven/stamp/images/download.svg)](https://bintray.com/pathikrit/maven/stamp/_latestVersion)\n--------\n\nBecause life is too short to grok [Java's DateTimeFormatter](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html):\n```scala\nimport com.github.pathikrit.stamp._\n\nval pattern: String = FormatLike(\"Feb 05, 2014\")\nassert(pattern == \"MMM DD, YYYY\")\n```\n\nYou can then use the pattern as:\n```scala\nimport java.time.LocalDateTime, java.time.format.DateTimeFormatter\n\nval formatter = DateTimeFormatter.ofPattern(pattern)\nprintln(LocalDateTime.now().format(formatter))\n```\n\n[See the tests for more examples](src/test/scala/com/github/pathikrit/stamp/FormatLikeSpec.scala)\n\n\nSee also: [ScalaVerbalExpressions](https://github.com/pathikrit/ScalaVerbalExpressions) - a library for writing self-documenting regex.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpathikrit%2Fstamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpathikrit%2Fstamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpathikrit%2Fstamp/lists"}