{"id":16985840,"url":"https://github.com/as400jplpc/nim_date","last_synced_at":"2025-03-22T01:42:14.287Z","repository":{"id":174038239,"uuid":"249663987","full_name":"AS400JPLPC/nim_date","owner":"AS400JPLPC","description":"Date Time  avec bornage pour conformiter avec SQL field definition ","archived":false,"fork":false,"pushed_at":"2020-03-24T10:09:37.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T19:51:06.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","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/AS400JPLPC.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":"2020-03-24T09:23:33.000Z","updated_at":"2020-03-24T10:09:39.000Z","dependencies_parsed_at":"2024-01-28T07:15:10.851Z","dependency_job_id":null,"html_url":"https://github.com/AS400JPLPC/nim_date","commit_stats":null,"previous_names":["as400jplpc/nim_date"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AS400JPLPC","download_url":"https://codeload.github.com/AS400JPLPC/nim_date/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894310,"owners_count":20527669,"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-14T02:44:16.895Z","updated_at":"2025-03-22T01:42:14.269Z","avatar_url":"https://github.com/AS400JPLPC.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nim_date\nDate Time  avec bornage pour conformiter avec SQL field definition \n\n\n\u003e   type\n    Date* = ref object of RootObj\n      data*   : DateTime\n      nullable   : bool\n  \n    Temps* = ref object of RootObj\n      data*   : DateTime\n      nullable   : bool\n\n\n  let fr* = DateTimeLocale(\n      MMM: [\"Jan\", \"Fev\", \"Mar\", \"Apr\", \"Mai\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\",\n          \"Nov\", \"Dec\"],\n      MMMM: [\"Janvier\", \"Fevrier\", \"Mars\", \"Avril\", \"Mai\", \"Juin\", \"Juillet\",\n          \"Août\", \"Septembre\", \"Octobre\", \"Novembre\", \"Décembre\"],\n      ddd: [\"Lun\", \"Mar\", \"Mer\", \"Jeu\", \"Ven\", \"Sam\", \"Dim\"],\n      dddd: [\"Lundi\", \"Mardi\", \"Mercredi\", \"Jeudi\", \"Vendredi\", \"Samedi\",\n          \"Dimanche\"],\n    )\n\n 1. newDate*(nullable : bool =true ): Date \n \n\n 2. newTemps*(nullable : bool = true ): Temps\n\n\n\n  *   * :=*(a : var  Date ; s : string)\n  *   * :=*(a : var Temps ; s : string)\n  *   *  isBool*(a: Date): bool\n  *   *  isBool*(a: Temps): bool\n  *   * $*(a: Date): string\n  *   * $*(a: Temps): string\n\nle travail avec \"data\" ce fait avec **Nim** et import DATETIME\ntraitement avec SQl  \"nim_wrpgsql\" l'introduction de null est un état différent de 00010101  exmeple date de livraison non enregistrer = null  \nmais les dates initialiser elle sont bien 00010101  ambiguité dut à la mise en oeuvre SQl considérant impossible en gestion   \nAvant d'avoir Null on mettait la date dans une zone numerique et zéros en gestion servait de null dans les tables\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas400jplpc%2Fnim_date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fas400jplpc%2Fnim_date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas400jplpc%2Fnim_date/lists"}