ChanceNCounter
ChanceNCounter
Indeed. It's not as intuitive, but I have no idea how long it might be until a fix gets to prod, so ysk: extract_datetime() takes an anchor date as a...
In yet another episode of Function Signatures Get Huge, we'd need the user to be able to specify when the week starts.
What if it became, ``` pronounce_number(number, places, trailing_zeroes=False) ``` That would also make perfect sense as an integer (pronounce up to `n` trailing zeroes)
fixed by MycroftAI/mycroft-core#2386 here and ported to Lingua Franca, I think this can be closed.
Fair enough. In that case, could you (or a Mycroft person) please move it to LF? The function lives there now.
tbh I've been looking at `mycroft.util.time` as the oversight 😛 I'd just as soon move everything from `mycroft.util` that could be termed "localization" over to LF. But that's me. ---...
OH, and, `default_timezone()` will no longer be a wrapper around `dateutil`! I dunno how I missed that. With the TZ-awareness fix, it should return the value from LF.config At that...
I think it's more, "Multilingual parsing and formatting, with locale-awareness." At a certain level, the entire module is about where you are, or where the listener is. BCP language codes...
Put differently, LF ate `mycroft.util.lang`, and I'd be happy for it to eat `mycroft.util.time`, but I can't think of anything else it should get. Only new functions that would've gone...
(I'll probably get to this before you do) rebase on `chance/refactor/languages_cleanup`, or just wait a few days and rebase on upstream/master, one of the merge conflicts will take care of...