mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
b31e22f0bc
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>
8 lines
205 B
Ruby
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
|