OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
namespace Leantime\Core\Support;
/**
* Enum class FromFormat
*
* An enumeration class representing various formats for date and time values.
*/
enum FromFormat
{
/**
* For value containing date time string from database in UTC
*/
case DbDate;
/**
* For value containing both date and time in users preferred format and timezone separated by a space
*/
case UserDateTime;
/**
* For values containing the time string in local timezone but formatted as 24 hour time (time html fields)
*/
case User24hTime;
/**
* For values containing UTC date time with 24hour time format
*/
case Db24hTime;
/**
* for values containing only the user formatted date and timezone. Adds start of day time to string
*/
case UserDateStartOfDay;
/**
* For values containing only the user formatted date and timezone. Adds end of day time to string
*/
case UserDateEndOfDay;
}