Skip to content

IsaaX/knex-timezone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps taken to setup:

yarn

psql

create database test_timezone;

Once setup:

  1. Run the migration
  2. run node main.js or run the seed to see the same result.
  3. View in the database, the knex.fn.now() provides a localtime instead of timestamp with tz.

Mini script for iteration:

yarn knex migrate:rollback && yarn knex migrate:latest && yarn knex seed:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published