Skip to content

refactor(nag): delegate parseDate() to Format::parse()#23

Merged
TDannhauer merged 1 commit into
FRAMEWORK_6_0from
refactor/adopt-format-parse
May 22, 2026
Merged

refactor(nag): delegate parseDate() to Format::parse()#23
TDannhauer merged 1 commit into
FRAMEWORK_6_0from
refactor/adopt-format-parse

Conversation

@ralflang

@ralflang ralflang commented May 22, 2026

Copy link
Copy Markdown
Member

Supersedes #21
Leverages horde/Date#14

Replace 60-line strptime/ICU/regex parsing block with one-liner
delegation to horde/Date Format::parse() and Format::parseDateTime().
Fixes AM/PM regex splitting bug and eliminates Windows strptime workaround.

Replace 60-line strptime/ICU/regex parsing block with one-liner
delegation to horde/Date Format::parse() and Format::parseDateTime().
Fixes AM/PM regex splitting bug and eliminates Windows strptime workaround.
@TDannhauer TDannhauer merged commit 617c299 into FRAMEWORK_6_0 May 22, 2026
1 check failed
ralflang added a commit that referenced this pull request May 28, 2026
Release version 5.0.0-RC3

Refactor tasklist cache and sync list handling
Refactor task retrieval logic in Sql.php
fix(security): restrict unserialize allowed_classes (ZDI-20-1051)
refactor: Transition to unified screen.css
Remove persistPrefs() calls from tasklist methods
Refactor ActiveSync task list cache handling
Update Nag.php
Refactor tasklist creation to include sync options
Enhance addTasklist with synchronization and persistence
Enhance tasklist management with sync functionality
Refactor ActiveSync error handling and notifications
Sync tasklist after adding it
Refactor synchronization of tasklist addition
Refactor sync_lists handling in task management
chore: Update workflow dependency
Merge pull request #23 from horde/refactor/adopt-format-parse
refactor(nag): delegate parseDate() to Format::parse()
Update addTasklist method documentation
Merge pull request #22 from horde/fix/array_offset_access
Merge pull request #21 from horde/fix/date_format
Enhance validation checks in NagMethod
Refactor getInfo and isValid methods for NagAlarm
Add ICU date formatting support in parseDate method
Merge pull request #20 from horde/refactor/multi_tasklist_usage_2
refactor: Use controllers rather than globals. Addresses #19
refactor: Replace strftime with IntlDateFormatter
refactor(injector): Widen type hints from Horde_Injector to Horde_Injector|Injector
style: constrain tag list icon size to 16px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants