﻿using System;
using FluentMigrator.Runner.Generators.Generic;

namespace FluentMigrator.Runner.Generators.Jet
{
    public class JetQuoter : GenericQuoter
    {
        public override string OpenQuote { get { return "["; } }

        public override string CloseQuote { get { return "]"; } }

        public override string CloseQuoteEscapeString { get { return string.Empty; } }

        public override string OpenQuoteEscapeString { get { return string.Empty; } }

        public override string FormatDateTime(DateTime value)
        {
            return ValueQuote + (value).ToString("MM/dd/yyyy HH:mm:ss") + ValueQuote;
        }
    }
}

﻿using System;
using FluentMigrator.Runner.Generators.Generic;

namespace FluentMigrator.Runner.Generators.Jet
{
    public class JetQuoter : GenericQuoter
    {
        public override string OpenQuote { get { return "["; } }

        public override string CloseQuote { get { return "]"; } }

        public override string CloseQuoteEscapeString { get { return string.Empty; } }

        public override string OpenQuoteEscapeString { get { return string.Empty; } }

        public override string FormatDateTime(DateTime value)
        {
            return ValueQuote + (value).ToString("YYYY-MM-DD HH:mm:ss") + ValueQuote;
        }
    }
}

Change date format to iso format
Change date format to iso format
