markusmobius / go-dateparser

go parser for human readable dates ported from the dateparser python package
BSD 3-Clause "New" or "Revised" License
49 stars 4 forks source link

export stripBracesAndTimezones function #13

Closed sundarv85 closed 4 months ago

sundarv85 commented 7 months ago

Hello,

I would like to use just the stripBracesAndTimezones function from the library. However, this function is as of now not exported. Can this be changed to be exportable (to StripBracesAndTimezones)

Thanks

RadhiFadlillah commented 4 months ago

I've made PopTzOffset into a public function in commit f7e2e9d.

For the strip braces part I didn't make it public because it can be easily achieved using regexp or strings.ReplaceAll.