mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 PostgreSQL 表达式解析 yyyyMMdd 常用 c# 日期格式化;
This commit is contained in:
@ -410,7 +410,6 @@ namespace FreeSql.Odbc.MySql
|
||||
case "'yyyy'": return $"date_format({left},'%Y')";
|
||||
case "'HH:mm:ss'": return $"date_format({left},'%H:%i:%s')";
|
||||
}
|
||||
|
||||
args1 = Regex.Replace(args1, "(yyyy|yy|MM|M|dd|d|HH|H|hh|h|mm|ss|tt)", m =>
|
||||
{
|
||||
switch (m.Groups[1].Value)
|
||||
|
Reference in New Issue
Block a user