Skip to content

[2023,7,31,19,15,41,874025000] => "2023-11-16T15:39:34.552194"

Notifications You must be signed in to change notification settings

themarkerr/log-ai-files-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files Fixer

Some summary files where created with strange timestamps (thanks jackson):

[{"id":50,"promptKey":"...","promptValue":"...","createdAt":[2023,7,31,19,15,41,874025000],"updatedAt":[2023,7,31,19,15,41,874025000]}

This repo has a script to correct this if necessary so timestamps look like this:

[{"id":50,"promptKey":"...","promptValue":"...","createdAt":"2023-11-16T15:39:34.552194","updatedAt":"2023-11-16T15:39:34.552196"}

requirements

  • aws cli and proper aws credentials
  • node.js
  • bash

usage

sh file-fixer.sh <bucket name here>

further reading

About

[2023,7,31,19,15,41,874025000] => "2023-11-16T15:39:34.552194"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published