Skip to content
Snippets Groups Projects
config.template.js 657 B
Newer Older
  • Learn to ignore specific revisions
  • /* eslint-disable @typescript-eslint/no-var-requires */
    const { DateTime } = require('luxon')
    
    const authorization =
      'Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    const cookie =
      'cozysessid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    
    
    const startingDate = DateTime.local().plus({ days: -120 }).startOf('day')
    
    const endingDate = DateTime.local().plus({ days: -1 }).startOf('day')
    
    /** Elec starting date */
    
    const halfHourStartingDate = DateTime.local().plus({ days: -15 }).startOf('day')
    
    module.exports = {
      authorization,
      cookie,
    
      startingDate,
    
      halfHourStartingDate,