mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-25 18:32:17 -04:00
- Replaced deprecated strftime() with IntlDateFormatter - Added proper handling for edge cases: - Strings with '%' not in date format (e.g., 'Discount: 50%') - Invalid date formats (e.g., '%-%-%', '%Y-%q-%bad') - Very long strings - Added comprehensive unit tests for Token_lib - All date format specifiers now mapped to IntlDateFormatter patterns
440 B
440 B