uutils / findutils

Rust implementation of findutils
MIT License
314 stars 38 forks source link

different behavior with printf %A #451

Closed sylvestre closed 2 months ago

sylvestre commented 2 months 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 2 months ago

@hanbings rings a bell? thanks

hanbings commented 2 months 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. :)