Files
Yukihiro "Matz" Matsumoto b31e22f0bc mruby-strftime: implement time#strftime method
add new mruby-strftime gem providing time#strftime for formatting
time objects using standard format specifiers.

implementation features:
- uses mrb_time_get_tm() api for accessing time components
- handles nul bytes in format strings correctly
- dynamic buffer allocation for variable-length output
- comprehensive test coverage including edge cases

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-12 20:05:08 +09:00

8 lines
205 B
Ruby

MRuby::Gem::Specification.new('mruby-strftime') do |spec|
spec.license = 'MIT'
spec.author = 'mruby developers'
spec.summary = 'Time#strftime implementation'
spec.add_dependency 'mruby-time'
end