0.3.1 • Published 1 year ago
@postgresql-typed/tzswitcher v0.3.1
npm install --save @postgresql-typed/tzswitcher
// pgt.config.ts (or postgresql-typed.config.ts)
import { defineConfig } from "@postgresql-typed/cli/config";
import "@postgresql-typed/tzswitcher/register";
export default defineConfig({
core: {
extensions: [
"@postgresql-typed/tzswitcher",
],
},
// TzSwitcher configuration (All options are optional)
// By default, all the from/to objects are set to false (meaning they won't be switched)
tzswitcher: {
// timestamp/timestamptz/time/timetz columns
timestamp: {
from: "UTC", // The timezone that is stored in the database
to: "Asia/Seoul", // The timezone that you want to switch to locally
},
timestamptz: false, // Disable timestamptz switching
time: {
from: "UTC",
to: "Asia/Seoul",
},
timetz: false,
}
});
0.3.1
1 year ago
0.2.17
2 years ago
0.2.16
2 years ago
0.2.15
2 years ago
0.2.14
2 years ago
0.2.13
2 years ago
0.2.12
2 years ago
0.2.11
2 years ago
0.2.10
2 years ago
0.3.0
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.9
2 years ago
0.2.8
2 years ago
0.2.5
2 years ago
0.2.4
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago