Files
seaweedfs/weed
chrislu 25b07fda6c feat: Add DATE_TRUNC function with comprehensive tests
- Implement comprehensive DATE_TRUNC function supporting:
  - Time precisions: microsecond, millisecond, second, minute, hour
  - Date precisions: day, week, month, quarter, year, decade, century, millennium
  - Support both singular and plural forms (e.g., 'minute' and 'minutes')
- Enhanced date/time parsing with proper timezone handling:
  - Assume local timezone for non-timezone string formats
  - Support UTC formats with explicit timezone indicators
  - Consistent behavior between parsing and truncation
- Comprehensive test suite with 11 test cases covering:
  - All supported precisions from microsecond to year
  - Multiple input types (TimestampValue, string dates)
  - Edge cases (null values, invalid precisions)
  - Timezone consistency validation

All tests passing ✅
2025-09-04 00:18:31 -07:00
..
2025-08-09 21:47:29 -07:00
2025-07-19 23:56:17 -07:00
fix
2025-09-04 00:07:06 -07:00
2025-08-30 11:15:48 -07:00
2025-08-31 23:31:28 -07:00
2025-08-30 11:15:48 -07:00
fix
2025-09-04 00:07:06 -07:00
2025-08-22 01:15:42 -07:00
2025-08-30 11:15:48 -07:00
2024-06-25 09:18:11 -07:00
fix
2025-09-03 22:57:47 -07:00
2025-08-30 11:15:48 -07:00
2025-09-03 17:42:30 -07:00
2024-02-14 08:26:38 -08:00
2025-09-03 21:55:32 -07:00
2025-07-19 21:43:34 -07:00
2025-03-17 23:13:27 -07:00