uutils / findutils

Rust implementation of findutils
MIT License
300 stars 37 forks source link

different behavior with printf %A #451

Closed sylvestre closed 1 week ago

sylvestre commented 3 weeks ago
$ touch a
# with our implementation:
$ find a -printf " %A+\n"          
 2024-09-11T10:34:33.361901073+00:00

# With GNU:
$ find a -printf " %A+\n"
 2024-09-11+12:34:33.3619010730
sylvestre commented 3 weeks ago

@hanbings rings a bell? thanks

hanbings commented 3 weeks ago

@hanbings rings a bell? thanks

Looks like it's related to https://github.com/uutils/findutils/blob/main/src/find/matchers/printf.rs#L38, let me investigate a little more closely. :)