go-dateparser icon indicating copy to clipboard operation
go-dateparser copied to clipboard

export stripBracesAndTimezones function

Open sundarv85 opened this issue 2 years ago • 1 comments

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

sundarv85 avatar Mar 22 '24 13:03 sundarv85

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.

RadhiFadlillah avatar Jul 04 '24 14:07 RadhiFadlillah